'createStyleSheet()' Example : createStyleSheet « Node Operation « JavaScript DHTML






'createStyleSheet()' Example

 <html> <body> <script language="JavaScript"> function function1() { document.createStyleSheet("yourstyle.css") } </script> Hello world!<br> <input type="button" value="Create style sheet" onclick="function1();"> </body> </html> 








Related examples in the same category

close