Re: css -- new window for hyperlinks
- From: "Jonathan N. Little" <lws4art@xxxxxxxxxxxxx>
- Date: Mon, 05 Mar 2007 17:53:24 -0500
one.1more@xxxxxxxxx wrote:
I have a 15 page website.
Every single page is linked to a external style sheet style.css. Now,
when ever i click i link in my website, it opens in the same window. i
want the hyperlinks to open in a new window. i know how to do it for a
single link (using target _blank) but i don't want to do it 100
times.
is there something i can do in the external style sheet? like adding
a:something { }
Let's put aside all the reasons why your links should not open in new windows ans say CSS is for controlling the presentation not the mechanics or the behavior of a web document (The only exception it can think of where the technical distinction is blurred is with the pseudo-classes :hover, :focus and :active) If you want to change behavior universally like that, aside of hard-coding the attribute I would say JavaScript would be the way...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
.
- References:
- css -- new window for hyperlinks
- From: one . 1more
- css -- new window for hyperlinks
- Prev by Date: Re: Embedding Fonts for All Browsers
- Next by Date: rendering local ok, across net not ok
- Previous by thread: Re: css -- new window for hyperlinks
- Next by thread: Re: css -- new window for hyperlinks
- Index(es):
Relevant Pages
|