I'd like to use the Tr and td functions to produce the following html -
<tr>
<td width="15%"><font color="888888"><strong>Tab Type</strong></font><
+/td>
<td width="40%"><font color="ffffff">Song</font></td>
<td width="25%"><font color="888888">Tabbed by</font></td>
<td width="20%"><font color="ffffff" <center>Selections</center></td>
</tr>
but i cant figure out how to get the td function to produce different widths.
The code below generates td tags with all widths = 25%
Td({width=>'25%'},$col[0],$col[1],$col[2],$col[3])
...can it be done, because Idd like to leave the days off spitting out lines of ugly html behind me; and is there a good tutorial or resourse anywhere that might help me to better understand the use of cgi.pm with respect to formatting my html.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.