Force links to open in a new tab, not a new window


Yes it is possible with CSS to have links open in new tabs or new windows. I discovered this issue when testing target="_blank" in IE9/IE10 versus Chrome.

 <a href="[yourlink]" target="_blank" style="target-new: tab;">GetPowers</a> 

Or you could put it in the header as:

<html>
<head>
<style>
a { target-new:tab; }
</style>
</head>
<body> 

There are some options for the target-new style:
target-new: window | tab | none

,

Leave a Reply

Your email address will not be published. Required fields are marked *