Justin
02-28-1999, 03:32 PM
I'm having difficulties with NS and IE (what else is new?). I have a very little bit of CSS:
body {
font-family: Arial;
color: #000000;
font-size: 12px;
}
and other similar junk. I want to offer alternate fonts, but Netscape (and Opera) won't recognize any of them (not even the first one) when it is done according to W3C:
font-family: "Arial, Sans Serif";
If I don't quote them, W3C's validator has a fit and NS ignores anything after the first white space. So for now, it's just Arial, which is fine for me (and I think everyone has Arial installed anyway). I don't care about Mac users (no offence) because my site deals with Windows shareware.
I'm just wondering how this can be done to please IE and NS (not worried about Opera too much, but was surprised that it does CSS at all).
I would just use normal ordinary <font> tags, but I also have this:
td {
font-family: Arial;
color: #000000;
font-size: 12px;
}
to prevent having to constantly restate my font info. Explorer is TOO flexible. It doesn't seem to care how I format anything, it always works fine. It even carries font face info into a td, where NS and Opera won't. It's also the only one with a hover:.
I just want it to look the same in both browsersaurs. Doing it by the book breaks NS 4.08, and doing it wrong (not quoting) makes it ignore everything after the first white space. Or am I just screwed?
------------------
Justin Nelson, SFE Software
www.vdj.net (http://www.vdj.net)
[This message has been edited by Justin (edited 02-28-99).]
body {
font-family: Arial;
color: #000000;
font-size: 12px;
}
and other similar junk. I want to offer alternate fonts, but Netscape (and Opera) won't recognize any of them (not even the first one) when it is done according to W3C:
font-family: "Arial, Sans Serif";
If I don't quote them, W3C's validator has a fit and NS ignores anything after the first white space. So for now, it's just Arial, which is fine for me (and I think everyone has Arial installed anyway). I don't care about Mac users (no offence) because my site deals with Windows shareware.
I'm just wondering how this can be done to please IE and NS (not worried about Opera too much, but was surprised that it does CSS at all).
I would just use normal ordinary <font> tags, but I also have this:
td {
font-family: Arial;
color: #000000;
font-size: 12px;
}
to prevent having to constantly restate my font info. Explorer is TOO flexible. It doesn't seem to care how I format anything, it always works fine. It even carries font face info into a td, where NS and Opera won't. It's also the only one with a hover:.
I just want it to look the same in both browsersaurs. Doing it by the book breaks NS 4.08, and doing it wrong (not quoting) makes it ignore everything after the first white space. Or am I just screwed?
------------------
Justin Nelson, SFE Software
www.vdj.net (http://www.vdj.net)
[This message has been edited by Justin (edited 02-28-99).]