Name
style — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
The style
object associated with the element. This
property is the gateway to reading and writing individual style sheet
property settings for an element.
Example
document.all.elementID
.style.font-size = "14pt"
Value
style
object.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.