0 0 Votes

HTML: Do not show content in Internet Explorer

Tip by Computer Expert | 26/01/2012 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

Avatar AuthorThe author has not added a short description to his profile yet.
Show Profile | Message

 

Related Topics

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 articles on askingbox.com. How to do.