NameSilo

Css: can u have both an ID and class with in <ul> <li>?

Spaceship Spaceship
Watch

julie20099

New Member
Impact
0
I've made buttons out of my nav bar.
I have inactive buttons and highlighted buttons but the problem is I can't keep them "highlighted" to represent "current page"
 
Last edited by a moderator:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
yes, you can most certainly have class and ID in your <ul> or <li> tags.
however, a specific ID can only be used once but a class can be used multiple times.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer

We're social

Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back