- From: Vadim Plessky <lucy-ples@mtu-net.ru>
- Date: Fri, 22 Feb 2002 20:32:46 +0300
- To: www-style@w3.org
- Cc: HTML WG <w3c-html-wg@w3.org>
On Friday 22 February 2002 01:35, Steven Pemberton wrote:
| Apologies for the day lateness.
|
| Stylesheet: Please replace body {font-size: medium} with
| body {font-size: 100%}
| The user should decide how big the base font is. Medium is too big for
| me, and will be too small for others.
|
well, why not
body { font-size: 1em}
than?
at the same time, I have checked what default definition Konqueror
(www.konqueror.org) has.
body {
display: block;
padding: 5px;
line-height: 1.05;
}
As you see, there is no default font size.
at the same time,
H1 {
display: block;
font-size: 2em;
margin: .67em auto;
font-weight: bolder;
}
Why body doesn't have default font-size?
Because default (minimal) font size is defined in Browser settings
(preferences)
For example, I have min. font size, which is "auto-applied" to <body>
element, set to 8pt.
Than font size for <H1> is calculated as 2x8pt=16pt.
This also simplifies implementation for "Font Enlarge" button/method for the
HTML page.
[...]
|
| Best wishes,
|
| Steven Pemberton
--
Vadim Plessky
http://kde2.newmail.ru (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Received on Tuesday, 26 February 2002 03:05:13 UTC