On Saturday 18 January 2003 06:01 pm, you wrote:
> > > i can't change the text color in a single row of table (even in all
>
> table)
>
> > > sincerely greg
> >
> > this is an html specification. To affect data or text in the cells each
>
> cell
>
> > must be formatted with the desired attributes.
> > Check W3C HTML 4.01 spec.
>
> You can mix in standard html pretty much anywhere you need to when writing
> CGI.
>  Consider:
> start_Tr, th("<font color=red>Key</font>"), th("Value"), end_Tr;
> gives me 'Key' as a table header in red. And if I define:
> my $bfr = "<font color=red>";
> my $ef  = "</font>";
> then
> start_Tr, th($bfr, "Key", $ef), th($bfr, "Value", $ef), end_Tr;
> does the same.
> (Note if you are not familiar with start_Tr, by specifying
> use CGI qw ( :standard *table *Tr);
> the table method can be realized as start_table end_table pairs and
> table rows can be realized as start_Tr end_Tr pairs)
> HTH
The principal behind your code seems to be the same. Each cell must be 
formatted, either programmatically or with quoted HTML tags.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to