Popular Posts
Build an OpenVPN server on android device Preparation An android device, in this case, Sony xperia Z is used Root permission required Linux Deploy for deploy i... Capitalize First Letters Of Words string str = "EXTERNAL"; str = new string(str.Select((c, index) => index == 0 ? char.ToUpper(c) : char.ToLower(c)).ToArray()); ... Register User Controls and Custom Controls in Web.config <system.web>     <pages>         <controls>             <add tagPrefix="scottgu" src="~/Controls/Header....
Blog Archive
Stats
CSS in I.E & Firefox
<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.