DHTML
  Home arrow DHTML arrow Page 4 - Padding, Pages, and More Style Sheet Prope...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DHTML

Padding, Pages, and More Style Sheet Properties
By: O'Reilly Media
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2007-10-18

    Table of Contents:
  • Padding, Pages, and More Style Sheet Properties
  • Page
  • Page-break-inside
  • Pitch-range
  • Quotes

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Padding, Pages, and More Style Sheet Properties - Pitch-range


    (Page 4 of 5 )

     

    pitch-range
    IE n/a NN n/a Moz n/a Saf n/a Op n/a CSS 2

    Inherited: No

    For aural style sheets, this sets the range over which the average pitch frequency of a text-to-speech voice varies.

    CSS Syntax

    pitch-range: number

    Value

    Any positive number or zero. A value of 0 is a monotone voice; a value of 50 should offer a normal range; values above 50 might sound animated.

    Initial Value         50

    Applies To            All elements.

    play-during
    IE n/a NN n/a Moz n/a Saf n/a Op n/a CSS 2

    Inherited: No

    For aural style sheets, this sets the sound-mixing properties of a background sound with a text-to-speech rendering of the element’s content.

    CSS Syntax

    play-during: uri [mix | repeat] | auto | none

    Value

    The uri  value is a link to the sound file to be used as background sound (if desired). Optionally, you can specify that the background sound of the parent element’s play-during property is started and mixed with the current element’s background sound. If the length of the background sound is shorter than it takes for the element’s text to be spoken, the repeat constant tells the browser to repeat the sound until the spoken text has finished. A value of auto means that the parent element’s sound continues to play without interruption. And a value of none means that no background sound (from the current or parent element) is heard for this element.

    Initial Value         auto

    Applies To            All elements.

    position
    IE 4 NN 4 Moz all Saf all Op all CSS 2

    Inherited: No

    Sets whether the element is positionable, and if so, what type of positionable element it is. The two primary types of positionable elements are set with values relative and absolute , with a third type, fixed , applicable to only some browsers. See Chapter 5 for details and examples.

    CSS Syntax

    position: positionConstant

    Value

    Browsers and the CSS standard recognize different sets of constant values for this property, as shown in this table.

    quotes

     

    Value IE/Windows IE/Mac NN Others  
    absolute 4 4 4 all  
    fixed 7 5 6 all  
    relative 4 4 4 all  
    static 4 4 6 all  

    The static value is essentially an unpositioned element, one that flows in the normal rendering sequence of the body content. A fixed-position element is positioned relative to the window (viewport), and remains in its specified location even as the content scrolls underneath it.

    Initial Value          static

    Applies To             All elements.

    Object Model Reference

    [window.]document.getElementById("elementID").style.position

    Notes

    Navigator 4 treats elements that set the CSS position property in the following ways: an absolute-positioned element is turned into the same kind of element as that created as a layer element; a relative-positioned element is turned into the same kind of element as that created as an ilayer element. There are some subtle differences between the actual elements and the simulated version, resulting in more reliable behavior in Navigator 4 when the actual layer and ilayer elements were deployed.

    More DHTML Articles
    More By O'Reilly Media


       · This article is an excerpt from the book "Dynamic HTML: The Definitive Reference,...
     

    Buy this book now. 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.

    DHTML ARTICLES

    - 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...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT