Changing the HTML properties of a layer
About this task
If you are designing an application for the Web and are using HTML 4.0, the HTML tab lets you apply core attributes that are common to layers. Domino® incorporates the values of these attributes to the HTML that it creates at run time. When you are using the HTML tag attributes, remember that the HTML must be ASCII characters. Also, do not include quotation marks when you enter the attributes in the various boxes, except in the Other box, as described in the table that follows.
Procedure
- Select a layer.
- Choose Layer - Layer Properties and click the HTML tab.
- Specify HTML attributes, as described in the table that follows:
Results
Tag |
Description |
---|---|
ID |
The ID attribute; in this case, Layer. |
Class |
Use the Class attribute to apply a CSS class for a defined object. For example, if the object's name is ZipCode, the class could be Numeric. CSS styles are defined in the HTML Head Content event for a form or page. |
Style |
Use the Style attribute to apply a specific CSS style to an object using inline CSS. For example, if the object's name is ZipCode, the class is Numeric, the style could be font-size:10pt. If you have more then one value, separate them with a semicolon; for example, font-size:10pt; color:blue. |
Title |
Generally use the Title attribute in Explorer 4.x and later to provide the user with a tip or prompt. For example, if the object's name is ZipCode, the class is Numeric, the title could be: Note that the title displays differently on different browsers. |
Other |
Use the Other attribute for additional HTML tag attributes, which must be written as pure HTML code. For example, instead of writing ZipCode in the Name/ID box, you write ID="ZipCode." |