Hi Folks,

I'm floating some elements on a page, so I am adding a div after to clear
them so they stay in the container. The clearer div looks like this:

<div class="clear">&nbsp;</div>

and the css for it looks like this:

.clear {
    display : block;
    clear: both;
    height: 0em;
    margin : 0em;
    padding: 0em;
  }

Here's the problem: on Firefox the clearer div occupies no vertical space.
No suprise there. But, under IE6, guess what, the clearer div occupies a
full line.

So ... ,

Does IE6 use the height property?

Does anyone know how to get this div to show up as zero height on IE?

Thanks,

-- Will


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to