Span Tags in HTML
Scott Rossi
scott at tactilemedia.com
Mon Feb 9 09:44:02 CST 2009
Recently, Ray Horsley wrote:
> Anyone with any ideas on how to use <span> tags when setting the htmlText of a
> fld? Example:
>
> <html> <head> <style type="text/css"> span.blue
> {color:lightskyblue;font-weight:bold} span.green
> {color:darkolivegreen;font-weight:bold} </style> </head> <body> <p>My mother
> has <span class="blue">light blue</span> eyes and my father has <span
> class="green">dark green</span> eyes.</p> </body> </html>
> This works fine in any browser, but setting the htmlText of a fld ignores the
> <span> tags.
Rev's support of HTML/CSS is a very limited subset of the full range of text
styling/formatting. To produce colorized text, I believe you need to use
the font tag.
<p>This is <font color="#00FF00">green text</font>.</p>
Or you could use RevBrowser to display fully formatted HTML/CSS (does
RevBrowser work in MetaCard?).
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
More information about the metacard
mailing list