[ic] CSS File

Ed LaFrance interchange-users@interchange.redhat.com
Tue Feb 5 12:30:55 2002


At 03:34 PM 02/05/2002 +0100, you wrote:
>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.

On this matter, I have been happiest with point (typesetting) sizes, i.e.: 
"font-size: 12pt".  IMH0 they are the most consistent across various 
browsers and platforms, though I will confess I have neither the time nor 
resources to check all possibilities.

- Ed L.



>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/
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================