[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTML tag mismatch for @subsection
From: |
Jesper Harder |
Subject: |
Re: HTML tag mismatch for @subsection |
Date: |
Mon, 14 Jul 2003 18:40:59 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
address@hidden (Karl Berry) writes:
> Anyway, the result looks much more pleasing in my browser if the
> document structure is retained with <h4>, <h5> etc.
>
> What browser are you using?
I tried it in Mozilla 1.4, Opera 6 and Konqueror 3.0.
Opera and Konqueror display it like this:
* <h4> is bold and the point size is slightly larger than the main
text.
* <h5> is bold and the same size as the main text.
This is a quite reasonable way to render it, IMHO.
> I forced all the sub+sections to h3 because in my browser (the latest
> mozilla), h4 and h5 are actually smaller than the main text size, which
> is pretty bogus programming, IMHO.
You're right that the point size of <h5> is smaller than the main text
in Mozilla. But I think <h4> has the same size as the main text.
I think you can see exactly what Mozilla does by default in the file:
/usr/lib/mozilla-1.4/res/html.css
viz.:
h3 {
display: block;
font-size: 1.17em;
font-weight: bold;
margin: 1em 0;
}
h4 {
display: block;
font-weight: bold;
margin: 1.33em 0;
}
h5 {
display: block;
font-size: 0.83em;
font-weight: bold;
margin: 1.67em 0;
}