HTMLgen - CSS CLASS How to...

Sébastien Libert sebastien.libert at comexis.com
Wed Apr 11 05:19:59 EDT 2001


Hello,

I use HTMLgen to generate a website. I use 2 classes from HTMLgen : Table
and TemplateDocument.
How can i specify a class for the tag <TD> or <TR> ....
My HTML template document contains a CSS with specific CLASS

Sample :
--My CSS--
<STYLE>
.High {....}
</STYLE>

--My template--
...
{table_here}
..

--Generated HTML--
<A NAME="Map information"></A>
<P><TABLE border=2 cellpadding=4 cellspacing=1 width="100%">
<CAPTION align=top><STRONG>Map information</STRONG></CAPTION>
<TR Align=center> <TH ColSpan=1>Variable</TH><TH ColSpan=1>Value</TH></TR>
<TR><TD Align=left >Name</TD>
<TD Align=left >DM-Codex.unr</TD>
</TR>
<TR><TD Align=left >Title</TD>
<TD Align=left >Codex</TD>
</TR>
<TR><TD Align=left >Author</TD>
<TD Align=left >Cliff</TD>
</TR>

So i want to have <TD Align=center CLASS=High>....</TD>

Thx !





More information about the Python-list mailing list