Hi Ted, It looks good to me, but you'd have to designate each pdf accordingly:
a[href="test.pdf"] However, there is another attribute selector, but its a CSS3, which would work well based on your example: a[href$="pdf"] Kind regards, Mario > Hi All > > I have a quick question. I don't seem to be running on all cylinders and I > can't remember how to > write the css that would look for a link that has .pdf in the href. > A [href???.pdf]... > > Or am I mixing up my CSS and javascript? > > I need some coffee. > > Ted > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
