Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS IDS and Class Re: IDS and Class

#138901
pixelgrid
Participant

Html doesnt allow for multiple Id’s on the same element but can be achieved using xml

Quoted from http://www.w3.org/TR/CSS2/selector.html#id-selectors

> If an element has multiple ID attributes, all of them must be treated as IDs for that element for the purposes of the ID selector. Such a situation could be reached using mixtures of xml:id [XMLID], DOM3 Core [DOM-LEVEL-3-CORE], XML DTDs [XML10] and namespace-specific knowledge.