Try Andy Budd's method explained here: http://www.andybudd.com/archives/2003/12/css_crib_sheet_2_clearing_floats/
.clear {
clear: both;
height: 0;
}<div class="clear"><!-- --></div>
Vaska.WSG wrote:
I hate to ask a dumb question, but I can't find any information about this altough I'm pretty sure I've read about this someplace.
What I'm trying to do is use
<div class="cl"> </div>
.cl { clear:both; }
But the sticky part is that I don't want it to add the extra line space. I'm not sure of the best way to do this. I believe I need to have something inside of the div tags (?) and I've tried messing with visibility:hidden but that threw some more unexpected glitches at me (well, I was getting two separate lines instead of both on the same line).
Anybody have a good method for doing this?
Thanks...v
***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************
