• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The Comment Bug

You can use this bug to shield styles from Internet Explorer 5.0 for Windows (and earlier versions). This does not work, however, to shield styles from Internet Explorer 5.5 for Windows or Internet Explorer 5.0 or 4.x for the Macintosh. If a CSS comment (/* */) immediately follows a selector, Internet Explorer 5.0 for Windows and earlier versions ignores the properties following the CSS comment codes (but other CSS-browsers, including Netscape 4.x, still parse the properties). Here's an example:

#selectorid/* */ {  color: #ff0; background: transparent; }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint