Is there a way in PHP to detect whether a visitor has CSS support – and if not, popup/echo a message to say so, as otherwise without CSS my site looks totally a mess! Thanks.
@AdamGundryJan 01.2004 — #You can't do it AFAIK, but anyway you would be better off creating a standards-compliant site with correct markup, which would then display ok regardless of the browser. Visitors whose browsers do not support CSS will not be expecting beautiful graphics; if they do, they should upgrade.
Correct markup makes your site accessible to everyone regardless of browser; it may not look pretty, but it should work.
@TeachauthorJan 01.2004 — #If you're referring to proper markup, my site validates as 1.1 xhtml strict, uses NO tables, and uses purely DIVS and CSS for layout, and minimal images =)
Indeed, the markup is fine and validates, and does look "ok" without CSS, what I meant was it doesn't look nice, but as has been posted, anyone without CSS won't be expecting a lovely website to view.
So you don't think it's poss to send an alert anyway ?