open links in new window?
Posted: 07 December 2005 07:22 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2005-12-07

Hello,

I am working on my first CSS webpage.  I have been able to customize my links such that they have no underline and spiffy colors:

A {TEXT-DECORATION: none; }
A:link {COLOR: #000000; }
A:visited {COLOR: #000000; }
A:active {COLOR: #000000; }
A:hover {COLOR: #ff9900;}

but I have not been able to find a CSS way to get them to open in a new window.  Is there any way to do this?

Thanks for your time.

Profile
 
 
Posted: 10 January 2006 12:21 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  2
Joined  2006-01-10

This cannot be done with CSS. In HTML use: <a href=”” target=“_blank”>

Notice that this attribute does not validate in Strict mode.

Profile