Arne <ar********@telia.com> wrote in message news:<Fk********************@newsc.telia.net>...
Neal wrote:
On 17 May 2004 23:14:34 -0700, Chris McGarry <mc*****@paccorp.com> wrote:
Hello,
I am trying to use a heading tag in my pages but want to control the
look via a style sheet. I am new at CSS but here's what I have so far:
....
Now my problem is the height of the first row in the table... See what
happens... the cell looks like it takes the height of a standard h1
tag. Any way that anyone sees to shrink the height of the first row to
the font specified in the CSS?
I feel like I'm missing something easy here...
Only happens in IE. Add this to h1 style:
margin-bottom: 0;
And use em or percent for the font-size, for readability. Some IE
users may think the 12pt is to small and pt is for print.
Nice! Thanks Neal and Arne that did the trick. One additional
question: Netscape 4 still behaves that way. I'm assuming
margin-bottom is not compatible with NS4. Is that the case? This is
not a deal killer because I think NS4 is dying but it would be nice to
have it look uniform.
Thanks,
Chris