[thelist] hiding floats (CSS)

Maximillian Schwanekamp lists at neptunewebworks.com
Thu Oct 7 19:46:39 CDT 2004


Ben Yates wrote:

> I've got a page where each consecutive DIV has a varying-width 
> left-side graphic, and I'm using empty floats to push the text to the 
> right and prevent it from overlapping that graphic.  It works well 
> when the DIVs are long enough (  
> http://www.bluehairgroup.com/index.php?p=2 , for example) but when 
> they're too short, one DIV's floats will extend below that DIV, 
> overlapping the next one and messing everything up ( 
> http://www.bluehairgroup.com/index.php?cat=10 ).  Any ideas?

Since you're using WordPress, perhaps you could programatically set an 
inline style on each of the div.post elements, incrementing like the h3 
element which appears right after the opening div class="post" tag ?

Btw, beautiful design.  However on wide screens (mine is 1200px wide) 
the bg image doesn't reach, so there's a big white stripe on the right.  
Perhaps the bg img could be wider?  Looks great at 1024px wide though.
-- 
Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
NeptuneWebworks.com <http://www.neptunewebworks.com/>
voice: 541-302-1438
fax: 208-730-6504



More information about the thelist mailing list