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?

23rd May 2017, 10:03 PM
Isaac
Isaac - avatar
3 Respostas
+ 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.
23rd May 2017, 10:20 PM
Manual
Manual - avatar
+ 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.
23rd May 2017, 10:34 PM
Manual
Manual - avatar
- 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
23rd May 2017, 10:34 PM
Rose Sevenyears
Rose  Sevenyears - avatar