|
| |
|
|
Tailslide
Posts: 6296 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: CSS background positioning - 8/22/2005 14:05:48
The only way to have a background image expand in a div when there's no content in it is to use the "faux-columns" technique. Have a google - there's lots of explanations on the method. What you do depends on the structure of your page. If you have two floating divs (main right, smaller left) then I'd put another div around them and attach a background image to that so that it goes all the way down. You'll need to be sure you sort your "clearing" out otherwise the containing div won't expand to encompass the floating ones. Again, Google is your friend on that one!! If you have a main div with the nav floating left in it then you can put the full width background image in that and it will be as long as its own content and will look like both columns are the same length.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|