-
Book Overview & Buying
-
Table Of Contents
MediaWiki Skins Design
Because the great majority of web designers use browsers that are more Standards-compliant than Internet Explorer - for example, Firefox, Opera, and Safari—"bugs" tend to appear in some pages when the pages are viewed in Internet Explorer, rather than Firefox.
Conditional comments allow us to serve different stylesheets not only for Internet Explorer, but even targeted to individual version of Internet Explorer.
A conditional comment will be read as a traditional comment in browsers other than Internet Explorer, that is, its contents will be ignored. But Internet Explorer will recognize the syntax of the conditional comments and apply or display whatever is shown within the comment, should the condition apply to the version of Internet Explorer currently interpreting the webpage.
If you wish to supply a stylesheet or other content to the visitors of your wiki using Internet Explorer, simply nest it within the following...
Change the font size
Change margin width
Change background colour