regular code vs CSS

They have: 107 posts

Joined: Mar 1999

I have a bunch of formatting options I want consistent throughout the site I am making such as font, font color, link, vlink, and a link. I tried linking to an external CSS, but apparantly this doesn't work in some versions of netscape (4.7). Everything looked great in IE and Mozilla.

Should I control all of the text with fint tags and then specify colors in BODY tag. If so, then whats the point of having all of the regular attributes and the CSS?

~Chris

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

It makes no sense that it doesn't work in Netscape 4.7. Most Netscape 4.x versions support some level of CSS, it's positioning that is at issue, and fancier text transformations. For more information check out:

http://www.webreview.com/style/css1/charts/mastergrid.shtml

Viewing a url would be helpful.

bradsoft.com (TopStyle) and w3c.org/style/ have validators that can help you get it working correctly.

Suzanne

They have: 107 posts

Joined: Mar 1999

Hmm,
It appears to be working now. I am just worried that if I just use CSS then someone with a CSS-supported browser, the site will look horrible (the text would show up black on the dark bue background, really hard to read).

The temp URL is:
http://www.skinsolutions.com/RobinsonCounseling/

The credentials page is the only only one I used CSS for. Thanks.

~Chris

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

or try:

T H I S

sersun's picture

They have: 32 posts

Joined: Aug 2001

I wouldn't worry too much about people without CSS support. Less than .5% of browsers surfing the web are less than "version 4" (NS or IE).

The benefit you gain from using CSS outweighs the cost of that 1-in-1,000 viewer not seeing your page perfectly.

If it is important to you, you could set the body background color using CSS. That way, if the browser doesn't support it, it will display the default bg color (probably white or grey). In the same way, the text will also show up with the default color.

Steven

sersun

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.