Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2009, 03:08 AM
mrconfus3d mrconfus3d is offline
 
Join Date: Mar 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to make a background image.

I see on almost every site Including this one, that the body background is a very large image sometimes 2400 by 1600 that automatically contracts and expands to the users resolution. How would this be done? Also, how do users know exactly where to make the sides for the background?

This is probably the best image i can get.
http://www.playdota.com/forums/assau...kin/bodybg.gif
Now thats the forum body background.
Reply With Quote
  #2  
Old 07-30-2009, 07:47 AM
mrconfus3d mrconfus3d is offline
 
Join Date: Mar 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump....help?
Reply With Quote
  #3  
Old 07-31-2009, 07:39 PM
mrconfus3d mrconfus3d is offline
 
Join Date: Mar 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow noone knows?
Reply With Quote
  #4  
Old 07-31-2009, 08:30 PM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll recommend that you do some reading and learning more about HTML and CSS, but I'll try to summarize it for you as best as I can.

Basically you have to create a small image, that when repeated either in Y or X axis, it would look the same.

so for example, in the case of the design here at vb.org, it would be something like,

body {
background: url(pattern.gif) repeat-y top center;
}

the background calls for a background image
repeat-y, repeats the image you created in Y axis
top: starts the first image from the top
center: places the image in the center

hope that helps.
Reply With Quote
  #5  
Old 07-31-2009, 11:46 PM
mrconfus3d mrconfus3d is offline
 
Join Date: Mar 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already am aware of that. I am trying to make for example, a 2000 by 1600 image, fit on a 1440 by 900 monitor. Just one image. And im pretty sure thats possible.
Also, what about making a table, with a couple images that makes that one image. And all that cells within the table contract and expand according to the resolution. Im talking images, not colors or patterns that can be repeated.

Thank you
Reply With Quote
  #6  
Old 08-01-2009, 01:01 AM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes you could do that, I all you have to do is create the image and set it as background, however, instead of setting it to repeat-x, or repeat-y, you should set it to something like

body {
background: url(image.gif) no-repeat top center #000;
}

one thing you got to make sure though, is that you have to make sure the edges of the big image that you create, fade into a solid color. That way, you can set a main background color and have the image merge in it.

I could probably help you out more if you show me the design that you have or trying to accomplish.
Reply With Quote
  #7  
Old 08-01-2009, 09:38 AM
mrconfus3d mrconfus3d is offline
 
Join Date: Mar 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for you information. I will report back soon with results.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06826 seconds
  • Memory Usage 2,215KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete