I'm creating very basic sites, as I'm new. I see on my stats that several visitors are using browsers that don't support CSS. As that's my next step in learning, what happens on these browsers when a site uses CSS?
I'm creating very basic sites, as I'm new. I see on my stats that several visitors are using browsers that don't support CSS. As that's my next step in learning, what happens on these browsers when a site uses CSS?
Maverick posted this at 16:06 — 6th April 2001.
They have: 334 posts
Joined: Dec 1999
It's best to make sure the site "degrades gracefully" and looks okay with no style sheets. You can turn off style sheets in your browser preferences, so always make sure to preview your pages with and without style sheets to make sure that they're viewable both ways. For most things, it isn't a problem. Perhaps with CSS text might be 16pt lime-green with courier font and without it defaults back to normal black text. That's not such a big deal and the page remains usable both ways. Of course if you're using style sheets for element positioning, it gets a lot harder. For that I normally use an underlying TABLE so that if style sheets are off the table controls the page layout. Then each table row or cell is set as an individual DIV so that things can be more precisely controlled with absolute positioning.
mjames posted this at 17:03 — 6th April 2001.
They have: 2,064 posts
Joined: Dec 1999
I agree with Maverick. Just check your site with CSS turned off and if it looks decent, don't worry about those few visitors who don't have CSS enabled. You can't meet everyone's requirements without seriously limiting your design options. If only a few people don't have CSS enabled, don't worry about them, IMO.
Marc James - marc@sports-central.org
Sports Central - Beyond the Scores
Sports Boards | Sports Newsletter | Spy Cam