RE: fashions and contradictions

by =?iso-8859-1?Q?Stephan_Brevik_Nedreg=E5rd?= <stephann(at)student.sv.uio.no>

 Date:  Wed, 3 Mar 1999 04:25:17 +0100
 To:  Jan Kampherbeek <j.kampherbeek(at)a1.nl>,
Hwg-Theory <hwg-theory(at)mail.hwg.org>
 In-Reply-To:  a1
  todo: View Thread, Original
> -----Original Message-----
> From: owner-hwg-theory(at)hwg.org [mailto:owner-hwg-theory(at)hwg.org]On
> Behalf Of Jan Kampherbeek
> Sent: 2. mars 1999 21:40
>
...
> CSS is supported only partly by even the newest browsers. But if you're
> browser does not support CSS, that doesn't necessarily pose a
> problem. In most
> cases the page will remain readable. Suppose you use a style to
> make all tags
> <H1> to appear in a special lettertype and to be red. If a browser doesn't
> understand it, the style will just be skipped, the heading will
> appear in a
> black letter using the default font of the browser. No big deal for the
> readability but it is a concern for the look and feel of your page.

It is quite possible to include HTML elements such as FONT and attributes
such as BGCOLOR on a page using CSS. (Using CSS perhaps to override those
elements/attributes).

> In some cases things might go wrong. Suppose you use a white
> letter in a box
> with a black background. If you use CSS for the font and HTML for the
> background the text will only be visible if the browser supports
> CSS.

I haven't seen that yet ;) - Odd example. A related problem is of course
using background-color with IE3, as IE3 does not support background-color.
Simply using background would suffice to work around that problem, though.

>You can
>deal with this by using only CSS for your colors or only HTML.

Or *both*. But then you have to include sufficient information for both old
and new browsers - that is, both in the HTML doc and the stylesheet.

STEPHAN NEDREG�RD

CSS bugs and workarounds:
http://www.micropop.com/workshop/

HWG hwg-theory mailing list archives, maintained by Webmasters @ IWA