Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2013-05-16, 12:34 PM   #22
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Quote:
Originally Posted by Simon View Post
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.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:50 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc