Sign In/My Account | View Cart  
advertisement

Article:
 The Vanishing Image: XHTML 2 Migration Issues
Subject: Use of Conditional Comments
Date: 2003-07-03 21:30:26
From: MikeyC Cacciottolo

Using conditional comments as described in the article will actually hide the nested Object from all browsers:


<!--[if !IE]>
<object></object>
<![endif]-->


Therefore, it should be constructed in the following way in order to hide the nested Object only from Internet Explorer. However, this method won't validate which means it can't be used in XHTML 2.0:


<![if !IE]>
<object></object>
<![endif]>


No Previous Message Previous Message   Next Message Next Message


Full Text Titles Only Newest First

Sponsored By: