Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
A Background Like This? Help Please!
Old 05-28-2008, 11:45 AM A Background Like This? Help Please!
Junior Talker

Posts: 2
Name: Trent
Trades: 0
I would like a background like the one you see here:

http://glenwoodcitywi.com/index.php?...or-information

do I need two separate images? if so, how do I get them to lock to the sides of the content when someone resizes the browser?
tjiz21 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-28-2008, 01:23 PM Re: A Background Like This? Help Please!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Here is the image they are using for that background: http://glenwoodcitywi.com/uploads/andreas01/bg.gif

This image could be placed onto the background of the body(for example) like this:
Code:
body {
background: url(../images/bg.gif) center top repeat-y #1c2e72; 
}
Note that that color used for the background color matches the last color in the gradient, so that if the page is viewed with an very wide monitor, the page will still be filled with color. The background is centered, and repeats along the y-axis only, lending to the illusion that it is a part of the page.

This could also be expressed like this:
Code:
body {
background-image: url(../images/bg.gif);
background-position: center top;
background-repeat: repeat-y;
background-color: #1c2e72; 
}
I prefer the shorthand method in most cases.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-28-2008, 02:04 PM Re: A Background Like This? Help Please!
Junior Talker

Posts: 2
Name: Trent
Trades: 0
Thanks, that will work great!
tjiz21 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to A Background Like This? Help Please!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37206 seconds with 12 queries