W3Schools.com

CSS Reference

CSS Reference
CSS Selectors
CSS Reference Aural
CSS Web Safe Fonts
CSS Units
CSS Colors
CSS Color Values
CSS Color Names
CSS Color HEX
CSS3 Browser Support

CSS Properties

CSS3 target-position Property

CSS Reference Complete CSS Reference

Example

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

a
{
target-name:new;
target-position:front;
}


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The target-position property is not supported in any of the major browsers.


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;

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


CSS Reference Complete CSS Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE