<html> <head> <title>CSS in I.E & Firefox</title> <style type="text/css"> div.LineClass{ color : red; /* for firefox */ @color : blue; /* for i.e. */ } </style> </head> <body> <div class="LineClass">Hello world! A simple line using style-sheet.</div> <div style="text-decoration:underline;@text-decoration:overline;">Hello world again!</div> </body> </html>note :
The mark @ could be replace with other symbol like + etc.
And the style for I.E. should be placed after the style for Firefox.