Send to a Friend

Vincentt's avatar

How can I hide HTML elements using just CSS?

Asked by Vincentt (8043points) June 8th, 2008

I’m trying to make sure a <div> is only displayed to users when their browser does not support CSS. For this, I’m looking for CSS rules that will do this for me.

Currently, I have a whopping two:
– display: none; (duh)
– width: 0; height: 0; overflow: hidden;

However, I need as many of these rules as possible, so any other suggestions are welcome :)

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.