Prev: Style sheet question
Next: Emulating <PRE>
From: Andy Dingley on 31 Mar 2010 05:18 On 30 Mar, 19:12, mer...(a)stonehenge.com (Randal L. Schwartz) wrote: > Of course, that wouldn't be possible within one document, since IDs > are required to be unique. Remember though that stylesheets are frequently shared across a site, where the id could be re-used on different pages. Also note that using ids for selectors like this is generally a bad idea anyway (owing to their excessive specificity), compared to classes. |