Understanding and Customizing the Dynamic HTML Standard Edition Template |
The Default character style, like the Default paragraph style, analyzes the FrameMaker text and inserts HTML code to match the FrameMaker formatting. Because character styles cannot have margins or text indents, the character style tests fewer FrameMaker attributes.
The Default character style looks like this:
<span $BPDefaultInlineAttributes;>$DATA;</span>
BPDefaultInlineAttributes contains this code:
style="\ color: $DATA(color);\; \ $IF_EQUAL($DATA(font-family);,,, font-family: $DATA(font- family);\; );\ $IF_EQUAL($DATA(font-size);,0,, font-size: $DATA(font-size);pt\; );\ font-style: $DATA(font-style);\; \ font-weight: $DATA(font-weight);\; \ text-decoration: $DATA(text-decoration);\; \ text-transform: $DATA(text-transform);\; \ vertical-align: $DATA(vertical-align);"
When this style is translated into HTML, you get something similar to these results:
<span style= "color: #990000; font-family: Helvetica; font-size: 14pt; font-style: normal; font-weight: bold; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline" > Character Text </span>
![]() Quadralay Corporation http://www.webworks.com Voice: (512) 719-3399 Fax: (512) 719-3606 sales@webworks.com |