Definition and Usage
The target-position property specifies where new destination links should be placed.
Note: The target-position property only works if the target-name property creates a new tab or a new window.
Default value: | above |
---|---|
Inherited: | no |
Version: | CSS3 |
JavaScript syntax: | object.style.targetPosition="front" |
Syntax
target-position: above|behind|front|back;
Values
Value | Description |
---|---|
above | The new destination tab/window will be placed above the current tab/window |
behind | The new destination tab/window will be placed behind the current tab/window |
front | The new destination tab/window will be placed above all other tabs/windows |
back | The new destination tab/window will be placed behaind all other tabs/windows |
Examples
a { target-name:new; target-position:front; }