Popular Posts
Convert relative url to absolute Uri baseUri = new Uri("http://www.domain.com/path/sample"); Uri absoluteUri = new Uri(baseUri, "../../other/path"); Uri... Dynamic load class & invoke method import java.io.FileInputStream; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.net.URL; import java.net.URLCla... jQuery serialize form to json $.fn.serializeObject = function() {     var o = {};     var a = this.serializeArray();     $.each(a, function() {         if (o[this.name]) ...
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.