Previous Message
Next Message

Re: [css-d] Target for the anchor

Sent by Christian Heilmann on 12 February 2003 11:11


>In CSS is there a way to designate the target (ie. _blank, _self) for a
>link that has class "whatever".  I just really hate having to type
>target="_blank" into some of my anchor tags and I wondered if there was
>a way to do this in the stylesheet?

CSS is for Visual Layout, it is neither a scripting language nor
markup like HTML. No, there is no way. You can use the base href
command in HTML though to set it once in the document.

HTH
Chris
Previous Message
Next Message

Possibly related: