[l2h] Building tables with WIDTH=x% ???

Jm Ferrard Jm Ferrard" <Jm.Ferrard@wanadoo.fr
Tue, 21 Aug 2001 16:19:26 +0200


Hi again!

I use these commands in a preamble file, in order to build tables with two
cells:

\begin{htmlonly}
\newenvironment{deuxcols}[2]
{\HTMLcode[align=center,cellpadding=10,border=0,cellspacing=0]{TABLE}%
{\HTMLcode[valign=top,WIDTH=400,bgcolor="#FFCCFF"]{TD}{#1}%
\HTMLcode[valign=top,WIDTH=300,bgcolor="#CCCCCC"]{TD}%
{#2}}}%
{}
\end{htmlonly}

This is not exactly what I want.
I'd prefer to assign a WIDTH=60% (for example) argument to the first cell.
But how to manage with the % character, which begins a comment in LaTeX ???

Thanks if you can help me (and sorry if the answer is obvious)

Jean-Michel