Styling text for the Web
For Web applications, Domino® automatically converts text styles to HTML tags when there is a corresponding HTML equivalent. Bullets, numbers, alignment (except Full Justification and No Wrap), spacing, and named styles are some HTML equivalents. Certain types of formatting such as indents, interline spacing, and tabs do not appear when viewed from a Web browser because HTML has no corresponding format. Be aware that different browsers may display tags differently and that not all browsers support the HTML tags that Domino® generates.
Fonts
If the fonts used are not the system defaults -- for example, in Windows™, Default Sans Serif and Default Serif -- Domino® converts font instructions to the HTML <FONT> tag and FACE= attribute to approximate the original font choice. Text may look different to a Web user than it does to a Notes® user because the browser determines which fonts to use.
Size
Domino® maps the text size you select in Domino® Designer to an HTML text size. The following table lists the text size in Notes® and the corresponding HTML size. Note that Domino® does not map font sizes to HTML heading tags (H1, H2, and so on).
Notes® text size less than or equal to |
Maps to HTML size |
---|---|
7 |
1 |
9 |
2 |
11 |
3 (default size) |
13 |
4 |
17 |
5 |
23 |
6 |
greater than 23 |
7 |
Preserving spaces
To align a column of numbers or to preserve or insert spaces, use the default monospaced font. On a Windows™ system, the default monospaced font is Courier. Domino® converts the default monospaced font to a monospaced font on the Web and preserves any spaces you enter.
Text colors
Web users see the same approximate text colors as Notes® users, but the colors may not match exactly.