From Mozilla, it's possible to access all the style sheets. Starting from the document, here's the hierarchy for accessing a particular style within a stylesheet:
|
|
Filling in some details on the properties:
p {color:blue; font-size:24pt;}the selectorText would be the string p and the style would be an object corresponding to the properties in the braces.
![]() |
![]() |
JavaScript Access![]() |