thanks for info - i figured out it won't be easy - i am using references in
table rows - it's better for me to highlight row by bgcolor avoiding
additional loops - but maybe any idea how to quick change text color for a
row that's defined as reference to table - thanks in advance
greg

----- Original Message -----
From: Craig Dean <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 19, 2003 5:52 PM
Subject: Re: cgi text color in tables


> 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]
>



***************r-e-k-l-a-m-a**************

Chcesz oszczedzic na kosztach obslugi bankowej ?
mBIZNES - konto dla firm
http://epieniadze.onet.pl/mbiznes

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

Reply via email to