Oliver Bayes-Shelton
Oliver Bayes-Shelton

Reputation: 6292

How to IE8 conditional comment

Very Simple Question but I am finding it hard to get a good answer

If I wanted to remove certain divs when IE8 is used to view my webpage how would I do this ?

could you give me a coded example please.

Thanks

Upvotes: 1

Views: 2084

Answers (2)

bastianneu
bastianneu

Reputation: 2069

the need of conditional comments in IE8 is very small.

Maybe you want to get in touch with "Reset Stylesheets"

In Addition to that question i want to provide some of my questions since they belong to same type of topic:

Will Conditional Comments always be needed?

Collection of Browser characteristics

Upvotes: 2

Greg
Greg

Reputation: 321688

You can use conditional comments like this:

<!--[if !IE 8]>
    <div></div>
<![endif]-->

Upvotes: 7

Related Questions