should I use div ID in a loop?
-
I was working on a loop in a page template that contained a few div ids. The page worked fine but when validated I got ID already defined errors.
When I use div class I no longer get the errors. Is that because IDs can be used once in a page or is it a WordPress thing?
just trying to figure it out..
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘should I use div ID in a loop?’ is closed to new replies.