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... DateTime package bruce.lib; import java.io.Serializable; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays... JDateField package bruce.lib.swing; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.A...
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.