Avaya 4600 Series Anwendungshinweis Seite 182

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 206
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 181
Web Browser for the 4625SW IP Telephone
182 4600 Series IP Telephones Application Programmer Interface (API) Guide
CSS2 Specifications
The browser supports Cascading Style Sheets Version 2 to render color backgrounds, text and
images.
Syntax
The CSS2 syntax the browser uses is made up of three parts - a wml tag with a new attribute
called style, a property, and a value:
WML tag style= “property: value”
The property is the attribute that will be changed, and each property can take a value. The
property and value are separated by a colon and surrounded by quotes.
To specify more than one property, separate each property with a semi-colon:
style="property1:value1; property2: value2; ... ; propertyN:
valueN"
The browser uses CSS2 with inline styles. The style attribute can be used with every WML tag.
The style attribute can contain only the CSS properties. The code example that follows shows
how to change the color:
<p style="color: sienna">
This is a paragraph
</p>
Another example is:
<wml> tag:
<wml style= “|properties|”> .. </wml>
<card> tag:
<card style= “|properties|” title=”Card Title”> .. </card>
<p> tag:
<p style= “|properties|” mode=”wrap”> .. </p>
<a> tag:
<a style= “|properties|” href=”…”>Link </a>
Note:
Note: The browser does not support external stylesheet linking using <link> tags. For
example, <link rel=”stylesheettype=”text/css” href=”phone.css”/> is not
supported.
Seitenansicht 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 205 206

Kommentare zu diesen Handbüchern

Keine Kommentare