0
Divs in JS
How could you use use css to style document.write();?
5 Respostas
+ 1
ok, thanks.
0
Short answer: Typically you wouldn't.
Long answer: See "Definition and Usage" in the article below to find out why
https://www.w3schools.com/jsref/met_doc_write.asp
0
Janning, but IS there a way?
0
document.write() is a method, not an element, so there is nothing visual to style.
- 1
You can use document.getElementByID(ID).addClass(class)