Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2003
    Location
    Massachusetts
    Posts
    472
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Property Lister

    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!
    Moderator @ WebDeveloper.com
    Mentor @ WebXpertz.net

  • #2
    Senior Coder
    Join Date
    Mar 2003
    Location
    OHIO
    Posts
    1,438
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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
    [size=1]"If you want to be "in the biz" you are going to have to roll with the changes or get out, basically."

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    I typically would use DOM Inspector to get the same information... though this can be useful for the poor souls without Mozilla I guess.

  • #4
    Regular Coder
    Join Date
    Jul 2003
    Location
    Massachusetts
    Posts
    472
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks MotherNatrsSon and jkd -

    Yeah, DOM Inspector is nice but like you said, for the poor souls without Mozilla it could be useful.
    Moderator @ WebDeveloper.com
    Mentor @ WebXpertz.net


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •