Sent by Marshall Roch on 12 January 2003 22:10
Webapprentice wrote:
> In Mozilla, this looks fine, but IE, there is a HUGE amount of
> whitespace before I see the rest of the text.
This is probably because of the font-size and line-height. I use
something like this:
<!-- stylesheet -->
.clearboth { font-size: 1px; line-height: 1px; clear: both; }
.clearleft { font-size: 1px; line-height: 1px; clear: left; }
.clearright { font-size: 1px; line-height: 1px; clear: right; }
<!-- code -->
<img style="float: left;" ... />
<div class="clearboth"></div>
--
Marshall Roch
BotBomb.com