APPLICATION DESIGN


Changing the HTML properties of a layer
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. IBM® Lotus® Domino(TM) 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.

1. Select a layer.

2. Choose Layer - Layer Properties and click the HTML tab.

3. Specify HTML attributes, as described in the table that follows:

TagDescription
IDThe ID attribute; in this case, Layer.
ClassUse 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.
StyleUse 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.
TitleGenerally 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:

    Enter your Zip Code.

Note that the title displays differently on different browsers.
OtherUse 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."

See Also