CSS3 nav-up Property

Example

Specify where to navigate when using the arrow-down and arrow-up navigation keys:

button#b1
{
nav-index:1;
nav-down:#b2;
nav-up:#b2;
}

button#b2
{
nav-index:2;
nav-down:#b1;
nav-up:#b1;
}


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The nav-up property is not supported in any of the major browsers.


Definition and Usage

The nav-up property specifies where to navigate when using the arrow-up navigation key.

Default value: auto
Inherited: no
Version: CSS3
JavaScript syntax: object.style.navUp="#div2"


Syntax

nav-up: auto|id|target-name|inherit;

Value Description
auto The browser determines which element to navigate to
id Specifies the id of the element to navigate to
target-name Specifies the target frame to navigate to
inherit Specifies that the value of the nav-down property should be inherited from the parent element