CSS and HTML Source Formatting Tool

Discussion in 'CSS' started by forumposters, May 25, 2007.

  1. #1
    I find myself writing some pretty sloppy code from time to time and it would be nice if there was a good tool online to apply uniform indentation, spacing, etc to my css and html code automatically. Anyone know of a particularly good tool for this?
     
    forumposters, May 25, 2007 IP
  2. rennick

    rennick Peon

    Messages:
    85
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    rennick, May 25, 2007 IP
  3. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #3
    See HTMLTidy, Google is your friend. Firefox has a Tidy extension, so when viewing source, click on clean up the page. Tidy will format the html and correct what errors it can and notify you of others.

    cheers,

    gary
     
    kk5st, May 27, 2007 IP
  4. Fold

    Fold Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can you post a link to this firefox extension? It sounds useful...
     
    Fold, May 29, 2007 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    Click on tools->addons, then click get extensions in the dialogue box. Use the search function, html tidy. That will lead you to html validator.

    cheers,

    gary
     
    kk5st, May 29, 2007 IP