CSS Layout help. please? :)
- Started
- Last post
- 4 Responses
- Nathan_Adams
who here is a hotshot at css?
I've got a problem with this site:
http://www.bravenewmedia.com.au/…i want the white background to automatically sit the length of the page.
I've tried to go about it by setting each element in as absolute positioned divs, nested within a parent div - which has a white background colour. However, the nested div's don't push the height of the parent div down to the bottom of the page.
At the moment I've added an extra div for the background, with a set height, just so you can at least see some of the page as it should be.
Ideally I'd like the white to go down to the bottom of the page, with a margin at the bottom of 25px (so you get the grey border like at the top). Even better would be the grey border to always sit at the bottom of the browser window and the content scroll behind it - but that's probably a pipe dream.
Surely there's a way to pull this off....
(stylesheet for that page: http://www.bravenewmedia.com.au/…
- edvc_van0
dude, clean your code a bit
- Nathan_Adams0
???
the code is clean and organised. i've even put in comments before each bit of code
- tomkat0
put the pics into a relative positioned div, with float:right.
underneath that (in ur HTML) put an empty div with clear:both
done
sorry for being short, need 2 go to office now
- rinus0
put a footer in it with clear: both