PDA

View Full Version : CSS Property Lister


fredmv
08-08-2003, 05:23 AM
Hey everyone!

I just wrote this script which loops through all of the CSS properties for an element, and dynamically generates an HTML document using a for/in loop in a new window which is a table of all CSS properties and values for the element. Some may find it useful.

You can see the demo here:

http://home.comcast.net/~fredv4/csspropertylister.html

It's also fully commented. All suggestions are welcome.

Thanks!

MotherNatrsSon
08-08-2003, 05:29 AM
Looks like it might be a good thing for a tutorial page. I even have pop-up blocking on and it came up. Good job.

MNS

jkd
08-08-2003, 06:03 AM
I typically would use DOM Inspector to get the same information... though this can be useful for the poor souls without Mozilla I guess. :)

fredmv
08-08-2003, 06:07 AM
Thanks MotherNatrsSon and jkd -

Yeah, DOM Inspector is nice but like you said, for the poor souls without Mozilla it could be useful.