Schema Central > XSL-FO 1.1 > fo.xsd > content-width
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

content-width

The content-width of some object (e.g., an external graphic). If the value is a percentage, the value of this property is the percentage applied to the intrinsic width.

See http://www.w3.org/TR/xsl11/#content-width.

Attribute information

Namespace: None

Schema document: fo.xsd

Type: Anonymous

Properties: Local, Unqualified

Value

  • Union of:
      from type fo:length
    • Type based on xsd:string
      • Pattern: [\+\-]?\d+(\.?\d+)?(pc|px|pt|mm|cm|in|em)
    • from type fo:percentage
    • Type based on xsd:string
      • Pattern: [\+\-]?\d+(\.?\d+)?%
    • from type fo:inherit
    • Type based on xsd:token
      • Valid value
        inherit
    • Type based on xsd:token
      • Valid valueDescription
        autoThe content-width should be the intrinsic content-width.
        scale-to-fitThe largest scaling-factor permitted will be applied to the content so that the scaled content-width is less than or equal to the width of the viewport.
        scale-down-to-fitIf the intrinsic content-width is less than or equal to the width of the viewport the content-width should be the intrinsic content-width. Otherwise the largest scaling-factor permitted will be applied to the content so that the scaled content-width is less than or equal to the width of the viewport.
        scale-up-to-fitIf the intrinsic content-width is greater than or equal to the width of the viewport the content-width should be the intrinsic content-width. Otherwise the largest scaling-factor permitted will be applied to the content so that the scaled content-width is less than or equal to the width of the viewport.
  • Used in

    Site developed and hosted by Datypic, Inc.

    Please report errors or comments about this site to contrib@functx.com