Reply to cleaning up classes and ids in large site

Your name:

Reply:


Posted by windandwaves on 02/16/07 03:02

Hi Folk

I am managing a rather large site. Over time, the css file has gone
from a few lines to 15Kb of styles. I would really like to clean this
up and simplify it. Do you know of any systems / applications (I use
PHP for the site) that I can use to

a. find all the IDs and classes used on the site.
b. check if these classes and IDs are listed in the css
c. find any classes and IDs listed in the css that are no longer used
on the site

My next job would then be to simplify the css, but that is more of a
manual task. Having said that, it would be great to see where IDs and
classes are used so that I can make decisions based on that and order
my css in such a way that regular used classes are listed first,
etc....

Any recommendations greatly appreciated.

Cheers

Nicolaas

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация