Sometimes I get very long identifiers, but I will call them sequentially to fit their specific purpose.
For example...
<div id="page"> <div id="primary-content"></div> <div id="secondary-content"></div> <div id="search-form-and-primary-nav-wrapper"> <form id="search-form"></form> <ul id="primary-nav"> <li id="primary-nav-about-us"></li> </ul> </div> <a id="logo"><img /></a> </div>
As you can see, selectors are sometimes quite long. But this is much easier IMHO than working with something like YUI grids.css, where you get identifiers like #doc, #bd, # yui-main, etc.
Mark Hurd Feb 25 '09 at 0:36 2009-02-25 00:36
source share