0
I want to add a font and a color for the text I have inside a document.write, and if it's possible can I make it bigger instead of the same regular size of a document.write output?
3 Antworten
+ 1
I do not know how to alter the size of the javasripts text.
It would be easier to do that with html text using CSS.
+ 1
I am going with @Roses advice on this.
I can thinks of a way to do what you want with Jquery, but,
it may not be worth the hastle.
- 1
Better put text in some current html element instead,so you can manipulate it's css.
https://www.w3schools.com/js/js_htmldom_elements.asp
https://www.w3schools.com/js/js_htmldom_html.asp