In article 
<[EMAIL PROTECTED]>
,
 [EMAIL PROTECTED] (Keith Meidling) wrote:

> Where can I find a comprehensive list of options that are used in cgi.pm???

Your *first* stop, should be the 'cgi-docs.html' file that comes with 
the full CGI.pm package. If you don't have that, download a copy from 
CPAN. It's *quite* handy to keep around while you're learning the ins 
and outs of CGI.pm. 

> I can find some of them here and there, but I was wondering if there's a
> comprehensive list. 
> 
> For example, I was working witht tables the other day, and wanted to change
> the color of one of the rows. 
> It took me a while and some guessing to find...
> 
> print $cgi->Tr({-bgcolor=>'red'},td([@temparray]));

I think you would have to write that as
    print $cgi->Tr( td( {-bgcolor=>'red'}, [@temparray] ) );

since <tr> doesn't take a color attribute, if I remember correctly.

> I'd also like a comprehensive list of table tags/options... 

> I'd like to find some web references if I could... 

As Randal mentioned, <www.htmlhelp.com> is also *my* first stop when 
looking up obscure HTML bits and pieces, as well as CSS references. I 
find that using CSS and embedding Stylesheets in my CGI's to be of much 
more use than attempting to include dozens of <font> tags and color tags 
and whatnot. 

Also a validator like <http://validator.w3.org/> and the companion CSS 
validator, are of inestimable use.

-- 
Scott R. Godin            | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |    web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-)

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

Reply via email to