Parent Directory
|
Revision Log
New
| 1 | wakaba | 1.1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | ||
| 3 | <title>Conditional Comment in <style></title> | ||
| 4 | <style> | ||
| 5 | |||
| 6 | body { | ||
| 7 | color: red; | ||
| 8 | } | ||
| 9 | |||
| 10 | <!--[if IE]> | ||
| 11 | |||
| 12 | p { } /* dummy for forward-compatible parsing */ | ||
| 13 | |||
| 14 | body { | ||
| 15 | color: blue; | ||
| 16 | } | ||
| 17 | |||
| 18 | <![endif]--> | ||
| 19 | </style> | ||
| 20 | </style> | ||
| 21 | <body> | ||
| 22 | <p>If this text is <em>red</em>, the conditional comment | ||
| 23 | takes effect.</p> | ||
| 24 | </body> | ||
| 25 | </html> |
| admin@suikawiki.org | ViewVC Help |
| Powered by ViewVC 1.1.24 |