Getting global and external style sheet values in DHTML
Last updated: April 16th, 09
If you work with CSS, you probably know that the best place to define
it in most cases is either in the HEAD section of your page (global CSS),
or as a separate css file (external CSS). And you probably won't ever
regret this decision either, unless you need to dynamically retrieve one
of its properties' value that is. You quickly run into a problem- probing the
Getting inline style sheet values
Just for the sake of anyone that may have missed the Dynamic CSS wagon,
you can probe property values of inline CSS properties via the "
<div id="test" style="width: 100px; height: 80px;
This is some text
This works great, but what if the styles (ie: "