[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] CSS File
Am Fre, 2002-02-01 um 05.27 schrieb Kari Suomela:
> JB> color: __MAINCONTENT_TEXT__
For the developers: Maybe it would be better not to invent new variable
names if CSS allready gives us so many. Allthough some browsers may not
render the content correct: The syntax is redundant!
In CSS with HTML every element other than BODY must be a a child of BODY
and it inherits the values. So everything you define in BODY also
applies to TD or P or whatever.
On the other hand good CSS never depends on a special font or font-size.
I recommend to add (also) (if you must) font family values like:
"font-family: serif" or "font-family: sans-serif",.... This enables the
browsers to choose a sans-serif font he has installed (if not Helvetica
is installed). Otherwise the browser may choose the default font, which
may even be a cursive or monospace font.
So the compromise value of *_FONT should be something like
"Helvetica,sans-serif"
Speaking about fon-sizes it is allways better to use relative font-sizes
(like 50%) instead of absolute (giving pt or px values). You never know
how big or small 12px is on a display.
I could make an alternative stylesheet available if there is an
interest, that should do quite the same layout (let's say for
Opera,Netscape 6,IE >5,Mozilla0.9x).
I also love to use colors with names (like "white" and "black"), that
are actually legal. They are far more better to read than hex values.
--
Thilo Pfennig
http://www.alternativ.net/edv/
- Follow-Ups:
- [ic] CSS File
- From: interchange-users@interchange.redhat.com (Ed LaFrance)
- References:
- [ic] CSS File
- From: interchange-users@interchange.redhat.com (Kari Suomela)