[thelist] IE6 and it's box model....
Gary McPherson
genyus at ingenyus.net
Thu Jul 10 19:16:20 CDT 2003
>>> At your request, it can be found at the following URL.
>>>
>>> http://www.joeqent.com/ie.htm
>>
>> Ah, the dreaded white space problem.
>
> I'm wondering, what happens when you put the <div><img></div> all on
> one line?
>
> I'm not sure about other browsers but I know IE will a lot of
> times add a blank character (possibly a space?) at the end of
> an element/word when the line wraps.
>
> For example:
>
> <p>
> That
> Text
> Would
> Print
> Like
> This
> </p>
Ah, beat me to it. So long as there's no whitespace between the end of
the <img> tag and the closing </div> tag, the whitespace will stay away.
Gary
More information about the thelist
mailing list