CSS and line-height for Netscape
by Keith Purtell <kpurtell(at)vantagemed.net>
|
Date: |
Wed, 5 Jul 2000 09:48:08 -0500 |
To: |
<hwg-techniques(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
I've installed a JavaScript that provides different external style sheets
for Netscape and Explorer. I moved to this solution because I noticed that
if I set the line-height parameter in a single style sheet for tags H1
through H6 so they appear normal in Explorer, they were way too vertically
spaced out in Navigator. (My users are on Windows.) But I'm still having
problems in Navigator. At the top of each page is a navigation image map,
followed directly by an H1 page headline, followed by text enclosed in P
tags. There's no code between the GIF image map and the H1 headline, but in
the browser there's a huge gap at least three times the size of what I see
in IE. If I go into my Netscape style sheet and change the line-height, it
reduces the gap between headline and image, but it also reduces the
previously normal gap between the headline and the plain text beneath. I'm
tired of tinkering with this, and wonder if any of you has tackled this
problem before? TIA.
Keith Purtell, Web Designer
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA