Best way IMO is to use jQuery to apply the style to any anchor with a href
ending in pdf, as opposed to hard coding in the class on each anchor.
Include the jQuery library, and then put this in the head in a script tag
(or in it's own js file).
$(document).ready(function(){ $("a...@href$=pdf]").addClass("pdf");
}
If you're unfamiliar with jQuery, time to get familiar! It's a very handy
JavaScript library.
Kevin
--
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]