Color, Filters, and Other Style Sheet Properties - Alphabetical Property Reference: Elevation
(Page 3 of 4 )
elevation
IE n/a NN n/a Moz n/a Saf n/a Op n/a CSS 2
Inherited: No
Given a listener at the center of a three-dimensional sound space (like in a surround-sound-equipped theater), elevation sets the vertical angle of the source of the sound (for example, in a text-to-speech browser). See also the azimuth property.
CSS Syntax
elevation: angle | angleConstant
Value
Your choice of a specific angle (in degrees) or one of the five constant values. An angle value is any value in the range of –90 to +90 (inclusive) plus the letters “deg”, as in 90deg . The value 0deg is at the same vertical level as the listener’s ear. To set the angle above level, the value must be a positive value ( 45deg ); below level requires a negative value ( -45deg ). Optionally, you can choose an angleConstant value from a library of descriptions that correspond to fixed points above and below level.
| Value | Equals |
| above | 90deg (directly overhead) |
| below | -90deg (directly beneath) |
| higher | +10 degrees from current |
| level | 0deg (at listener’s ear level) |
| lower | –10 degrees from current |
In combination with the azimuth property, you can place a sound at any point around a spherical surround-sound stage.
Initial Value level
Example
h1 {elevation: -45deg}
p.heavenly {elevation: above}
Applies To All elements.
empty-cells
IE n/a NN n/a Moz all Saf 1.3/2 Op 8 CSS 2
Inherited: No
Controls whether an empty td element shows its borders and background in a table. Surrounding cells don’t change position when an empty cell is hidden. Instead, the cell is essentially transparent, allowing the table’s background to show through in the space.
CSS Syntax
empty-cells: show | hide
Value One of two constants: show | hide .
Initial Value sho w
Example td {border: salmon inset 3px; empty-cells: hide}
Applies To td elements .
Next: Alphabetical Property Reference: Filters >>
More DHTML Articles
More By O'Reilly Media
|
This article is excerpted from chapter four of Dynamic HTML: The Definitive Reference, Third Edition, written by Danny Goodman (O'Reilly; ISBN: 0596527403). Check it out today at your favorite bookstore. Buy this book now.
|
|