The div in question is “cbg” … I have a 900px by 1px jpeg i want to use as the background. Its 2/3 white (like the left column) and 1/3 black (like right column)
Any idea why it isn’t expanding? You can see what I am trying to do if you enter in 1000px for the height attribute in the css.
Hi, the problem is that #cbg’s childs are floats and as such they are collapsing that elements height. You need a clearing mechanism placed on it. Aka overflow:hidden;