Javascript Properties JavaScript Reference

    




    function function1() {
        var n = document.styleSheets[0].cssRules;
        alert(n);
    }



     style="position:absolute; 
            width:264px; 
            height:147px; 
            z-index:1; 
            background-color: #FFFF99; 
            layer-background-color: #FFFF99; 
            border: 1px solid #000000;">
div element content.

Click here