Home arrow DHTML arrow Page 3 - Color, Filters, and Other Style Sheet Properties

Color, Filters, and Other Style Sheet Properties

Continuing with our multi-part series on style sheet properties, this fourth part of the series covers color, filters, and more. It is excerpted from chapter four of Dynamic HTML: The Definitive Reference, Third Edition, written by Danny Goodman (O'Reilly; ISBN: 0596527403). Copyright © 2006 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

Author Info:
By: O'Reilly Media
Rating: 5 stars5 stars5 stars5 stars5 stars / 12
September 20, 2007
  1. · Color, Filters, and Other Style Sheet Properties
  2. · Alphabetical Property Reference: Cursor
  3. · Alphabetical Property Reference: Elevation
  4. · Alphabetical Property Reference: Filters

print this article

Color, Filters, and Other Style Sheet Properties - Alphabetical Property Reference: Elevation
(Page 3 of 4 )


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


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.




90deg (directly overhead)


-90deg (directly beneath)


+10 degrees from current


0deg (at listener’s ear level)


–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


h1 {elevation: -45deg}
p.heavenly {elevation: above}

Applies To                   All elements.

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 .

blog comments powered by Disqus

- Text-Justify, Volume, and Other Style Sheet ...
- Ruby-Position, Size, and Other Style Sheet P...
- Padding, Pages, and More Style Sheet Propert...
- Marks, Orphans, and More Style Sheet Propert...
- Layouts, Margins, and Other Style Sheet Prop...
- Floats, Fonts, and Other Style Sheet Propert...
- Color, Filters, and Other Style Sheet Proper...
- Borders and More with Style Sheets
- Learning Style Sheet Properties
- Style Sheet Property Reference
- Completing a Noisy Image Application
- An Object-Based Approach to Building Noisy I...
- A Basic Method for Building Noisy Images
- Adding More Features to Sliders with the Scr...
- Using Sliders with the Scriptaculous Framewo...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials