CGI table width

2002-02-04 Thread Martin A. Hansen

hi

how can i control the width of each column or cell in my table?

i dont exactly know what the following width switch does?

print table({-border = 0, -width = '100%'},
 Tr[
   td({ width = 75 }, ['', $headline,  '']),
   td( ['', $hr,'']),
   td( ['', $subheadline,   '']),
   td( ['', $embeddedtable, '']),
   td( ['', $hr,'']),
 ]
   );

and by the way. where can i find more description on CGI functions
and especially the switches?

regards

-martin


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




Re: CGI table width

2002-02-04 Thread Randal L. Schwartz

 Martin == Martin A Hansen [EMAIL PROTECTED] writes:

Martin and by the way. where can i find more description on CGI functions
Martin and especially the switches?

The CGI.pm mechanism is just generating HTML.  If you mean
how do I learn more about HTML, the net is full of examples,
unfortunately both good and bad.  Start with www.htmlhelp.com, if
you want standards-based education instead of tag-soup cargo culting.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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