Previous Message
Next Message

IE/Win adding extra space under spacer div...

Sent by Grant Robinson on 20 September 2005 17:05


On 9/19/05, Gunlaug Sørtun [EMAIL-REMOVED]> wrote:
> Grant Robinson wrote:
> > I'm working on developing a table-less layout for a page, and I have
> > an annoying quirk I have found in IE/Win.  I have narrowed it down to
> >  a simple test case, located at:
> >
> > <http://grant.mr-r.net/demo/extra_space_demo.html>
> 
> Spaces have line-height = height = space regardless of styling, in IE/win.
> 
> Change <div class='spacer'>nbsp;</div>
> to <div class='spacer'><!-- --></div>
> ...and it'll be fine since comments don't take up any space.
> 
> regards
>         Georg

Thou art a genius!  Thank you very much.  That worked like a charm.

Grant
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: