How did *I* get stuck with that?!!!!YellowLed wrote:Other than that, I don't see anything left to do despite check the whole thing for double or unnecessary classes and ids (sounds like a job for Don)
YL
Seriously - regarding dulpicate names, I cannot find any rule that says you cannot have both a class and an ID with the same name. IDs are meant to be unique to a page, classes can be used multiple times, but I find nothing on using the same name for both. In fact, I think a specified ID of ID="foo" will default to the class of .foo if the id of #foo is missing from the stylesheet.
Anyway, it is STILL confusing to have the identical name, so I personally think it should be changed. The only place I observed it was with respect to the comment, and related, tpls. And trust me, I have been over every single line of each of those TPLs dozens of times - unfortunately!
As far as "unnecessary" - that is pretty subjective. More classes is always better than less. I have yet to find anything unnecessary, or at least, anything "in abundance". There are scores of classes I have never seen styled, but you never know what might be of interest for some future template.
So, I suggest 1) disregard any classes that might be "excessive", or "in abundance" and b) focus just on these few instances of identical ID and Class names.
Does anyone have any examples OTHER than the commentform, and related tpls?
Again, how did I get stuck with this job?!!!