You can use jquery:

        $(function(){
        $("a").addClass("your new css class name goes here");
        });

This will add a new class to your <a> element



On Feb 14, 2011, at 2:38 PM, Kunal Bajpai wrote:

Hi All,

I used the following style, to place a PDF icon next to all hyperlinks
that point to a PDF document.

---------------------------------------------------------------------
a[href $='.pdf'] {
  padding-right: 18px;
  background: transparent url("../images/pdf_icon.gif") no-repeat
center right;
}
-------------------------------------------------------------------------

I want to override this style for a block (<div>), any ideas.

TIA
KBajpai

-- -- 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]

--
--
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]

Reply via email to