00 Votes

HTML: Do not show content in Internet Explorer

Tip by Computer Expert | 2012-01-26 at 23:52

Here's a little tip from me, how you can simply make a content invisible for the Internet Explorer using conditional comments:

<!--[if !IE]><!-->
<p>This paragraph will not be displayed in any Internet Explorer.</p>
<!--<![endif]-->

The paragraph from the example will not be shown in the Internet Explorer, but in any other browser like Firefox, Opera or Safari.

Of course, the content is also be readable when using the Internet Explorer and viewing the source code. The content will only be not displayed in the browser window.

ReplyPositiveNegative

About the Author

AvatarThe author has not added a profile short description yet.
Show Profile

 

Related Topics

jQuery: Show and hide elements

Tutorial | 0 Comments

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.