Possible Duplicate:
Open url in new tab using javascript
I’m trying to make it so that something opens up in a tab, not a window. As far as I can tell, this is set by browser preference. Is there no real way to override this? I understand you can use window.open, but is this subject to browser preference? I’m currently using target=”_blank”.
You can do this with the following CSS:
See this example (please not it does not work because jsFiddle does not support tabs. It is merely for demonstration purposes)
As simple one line solution: