Hi,

I would like to precompile my HTML files that have style sheets. That
is, I would like to generate (perhaps on the fly) basic HTML markup from
the CSS. For example, I want to turn:

P.main {font-family : sans-serif; font-size : 12pt}
...
<p class="main">This is a paragraph</p>

into

<p> <font face="Arial" size="7"> This is a paragraph </font></p>

I would prefer to avoid such behavior, as many CSS attributes cannot be
mapped to basic (HTML32) tags. However, I can see where this would be
useful for users of older browsers that don't understand CSS.

(A secondary consideration is the protection of CSS content. This isn't
something that concerns *me* but I can see where it might be an issue.)

So is there a way to do this, if not with a Tomcat directive, with a
special servlet or library?

Thanks,
Josh Rehman


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to