Wells-it.com - Web Hosting

What happens if CSS isn't supported?

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 42 posts

Joined: Sep 2000

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?

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's picture

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.