Home > Questions and Answers > General Questions

[Help]Landing Page Coding (4)


06-16-2011 09:29 AM #1 shanktank (Member)
[Help]Landing Page Coding

I can't figure out why the white background does not expand along with the most bottom divs.

Check it out here: http://dl.dropbox.com/u/4439012/lppage.html


06-16-2011 09:58 AM #2 movingshadow (Member)

insert a new style:

.w {clear:both;}

then include a new div before the closing div:

<div id="newcontent">
... your content...

<div class="w"></div>
</div>

http://stackoverflow.com/questions/2...-floating-divs


06-16-2011 10:18 AM #3 shanktank (Member)

Thanks.

I've never seen this problem before with all the previous LPs I've worked on.

I've never used the clear element before because I never understood its usage.


06-16-2011 10:20 PM #4 joshtodd ()

Yeah that's a pretty common CSS issue when you are messing with different block and inline div's. The clear should work in just about every case.


Home > Questions and Answers > General Questions