Quote:
Originally Posted by Simon
You likely know that a class can be applied to as many elements as you want, while an ID should only be applied once to one element on any page/document. So having many divs with an ID of navcontainer probably isn't what you meant to do.
You could just convert the navcontainer to a class instead of an ID so you can use it multiple times. And then in the interest of avoiding all divitis, you can consider applying that new navcontainer class directly to the ULs themselves
|
Yeah that was some old code that was reused. One of the few bits of old code that was reused.
I noticed that I had done that late last night. It seemed to be working so I left it alone but I do know that it's wrong.
But I just changed all the IDs to classes.