2009/05/23

CSS priority

<html>
<head>
    <title>CSS priority</title>
    <style type="text/css">
    div#divline {
        color : blue !important;  // this will take higher priority for style display
    }
    </style>
</head>
<body>
    <div id="divline" style="color:red;">This is a line set font color red using attribute 'style'.</div>
</body>
</html>