javascript - How to display a Web Page's Stylesheet -
javascript - How to display a Web Page's Stylesheet -
is there way display total css stylesheet of web page, other fetching every style each element this:
document.write("width:"+document.getelementbyid("to").style.width+";");
the css can in external file, or within <style>
tag.
you can utilize document.stylesheets
like in document.stylesheets[0].cssrules[0].csstext
javascript html css stylesheet
Comments
Post a Comment