[thelist] CSS, H1 and Netscape

Joshua OIson joshua at alphashop.net
Tue Dec 26 22:03:06 CST 2000


This response is not comprehensive by any means, but hopefully it does
answer some of your question.

Navigator handles line-height in a very odd manner in general, thus making
it difficult to change the spacing around h1, et al.  If you do manually
adjust line height, then text after images will only be spaced down that
amount from the top of an image, even if the image is taller than the
spacing.  You often, as a result, get overlap.  A common method for
circumventing Navigator's deficiencies with H tags to not use then and
assign similar classes to the table cells, or spans, or whatever.  Thus:

<span class="h1">My title</span><br />

Or something along that line.  Again, though, be careful when assigning the
classes to table cells if you have manually set line-height.

Hope that helps.

-joshua

----- Original Message -----
From: <tbounds at gci.net>
To: <thelist at lists.evolt.org>
Sent: Tuesday, December 26, 2000 6:19 PM
Subject: [thelist] CSS, H1 and Netscape


> Hi-
>
> I'm having a discussion with someone about Netscape messing with the
> properties you set with css for <h1>,<h2>, etc. tags. It seems to me
> Netscape decides to leave space around the tagged text whether you want it
> to or not when you try to modify it with a style sheet. Do any of you have
> more info on this?
>
> Thanks,
> --
> Tony
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list