You need to escape the quotes, or the compiler will generate an error. Try the following
styleSheet.addRule("<style type=\"text/css\">a:visited{color:#000000;}</style>");
Type: Posts; User: copeg
You need to escape the quotes, or the compiler will generate an error. Try the following
styleSheet.addRule("<style type=\"text/css\">a:visited{color:#000000;}</style>");
Patience....If you are setting the content type to 'text/html', then this is dependent upon the html you provide. You can try to do so by setting a css style (not sure if this will work with a...