cewilcox — 2010-02-23T14:49:05-05:00 — #1
I'm having a problem with using an id attribute on an img tag. This is the img tag:
<img src="images/25off.jpg" width="159" height="174" alt="coupon" id="25off"/>
And this is the CSS rule:
So why doesn't this work? Seems simple enough.
-confused and curious
paulob — 2010-02-23T14:53:11-05:00 — #2
You can't start an ID with a number as it's invalid and won't be recognised.
Change it to:
cewilcox — 2010-02-23T14:58:17-05:00 — #3
Duh! Should have tested for that first. Thanks for the help.