Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS3 target-position property

CSS3 target-position property

Example

Open all hyperlinks in a new window and place them above all other tabs/windows:

a

{

target-name:new;

target-position:front;

}


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

No major browser supports the target-position property.


Property definition and usage

The target-position property specifies where a link should be placed in the new target.

Note: Only when the target-nameproperty creates a new tab or a new window is the target-position property used.

Default value: above
Inherited: no
Version: CSS3
JavaScript syntax: object.style.targetPosition="front"

Syntax

target-position: above|behind|front|back;

Value Description
above Place the new destination tab/window before the current tab/window.
behind Place the new destination tab/window after the current tab/window.
front Place the new destination tab/window before all other tabs/windows.
back Place the new destination tab/window after all other tabs/windows.