Nadav Har'El
Sat, 15 Sep 2001 12:30:47 -0700
On Sat, Sep 15, 2001, Ilya Konstantinov wrote about "Re: [Haifux] hifux site's design":
> > CSS, Cascading Style Sheets, is a standard (look at w3c's site for a complete
> using positionable boxes. The trouble with all this is while it'll look
> great on Mozilla / Netscape 6, Internet Explorer and Konqueror, it'll
> be totally broken on Netscape 4. I usually urge people to forget
> Netscape 4 as if it was a bad dream, but some Linux users with slower
> machines might complain.
Well, Netscape 4 is "supposed" to support CSS 1. Unfortunately, it has so
many bugs that almost no page with CSS will look the way the author intended
on Netscape 4. There are three ways to solve this problem:
1. Ignore Netscape 4. This is what I do - Mozilla is available (as far as
I know) on any machine for which Netscape 4 was available, and it's free.
This is a good solution for my homepage, but a politically-incorrect
solution for an important page, at least while people still use Netscape 4.
2. Try to use only CSS styles that work on both Netscape 4 and the standard-
compliant browsers (such as Mozilla and IE). This is not easy, and I
don't recommend it.
3. CSS stylesheets normally come from a seperate file. You can make this
file a CGI script (or whatever) which sends one of several stylesheets:
a Netscape one if the user is using Netscape, and a different one for
any other browser (including Mozilla). Many sites using CSS use this
approach.
> (BTW, Nadav, the FONT tag and the ALIGN attribute are deprecated :)
Well, I guess you're right, in HTML 4. They removed many of the attributes
which they now recommend to set using styles and stylesheets. But no browser
in existance accepts *only* HTML 4 (these attributes were perfectly legal
in HTML 3.*), and old habbits are hard to break...
--
Nadav Har'El | Saturday, Sep 15 2001, 28 Elul 5761
[EMAIL PROTECTED] |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |"A mathematician is a device for turning
http://nadav.harel.org.il |coffee into theorems" -- P. Erdos
--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]