View Single Post
Old 05-21-2005, 05:37 PM  
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
how do i let links open in a new window using css?

I wanna use a class in css to define that the links between that class's tags on the actual page open up in a new window.

Lets say i wanna call this class 'blanktarget', whats the code i gotta put in the style sheet file? U know something like this:
Code:
.blanktarget a {
    href:blank;
}
(^^^^ improvised code just for an example)

so that the links between these tags:
<div class="blanktarget"></div>
open up in a new window.
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote