You are here: Re: cleaning up classes and ids in large site « All PHP « IT news, forums, messages
Re: cleaning up classes and ids in large site

Posted by Andy Dingley on 02/16/07 22:50

On Sat, 17 Feb 2007 08:53:41 +1100, dorayme
<doraymeRidThis@optusnet.com.au> wrote:

>Suppose you want to know if a #navMonday css instruction can be
>safely removed from your CSS sheets. All you have to do is search
>for ' id="navMonday" ' over the folder that contains all the
>website files.

That's OK for one class or id, but how about the ful llist?

With an editor, how do you produce the full list? You'd need an editor
and regex to match everything that _wasn't_ an id and then strip it.
That gets tricky.

 

Navigation:

[Reply to this 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

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