Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: CGI tables *runs*

by Rhose (Priest)
on Jun 24, 2003 at 17:29 UTC ( #268606=note: print w/ replies, xml ) Need Help??


in reply to Re: CGI tables *runs*
in thread CGI tables *runs*

One thing which has helped me when working with tables in CGI is start_table and end_table. This might have helped you pick up the problem with quotes which particle has pointed out.

use CGI qw(:standard start_table end_table); print start_table; print Tr(td({-height=>'10', width=>'700', bgcolor=>'#BBCCEE'},h5('hi') +)); print Tr(td({-height=>'10', width=>'700', bgcolor=>'#BBCCEE'},"")); print end_table;


Comment on Re: Re: CGI tables *runs*
Download Code
Re: Re: Re: CGI tables *runs*
by coldfingertips (Pilgrim) on Jun 24, 2003 at 17:41 UTC
    Nope, that wasn't the problem. When I remove the quotes the text changes but the table get's shifted as well, it makes the TD twice the size when the h5 works.
      And that is an HTML problem ... it's what happens when you stick a heading inside of a table cell. Besides, it is not wise to try and control cell heights ... the height attribute for <td> tags is deprecated (reference). You really should start using Cascading Style Sheets if you need that kind of control (and most of the time ... you really don't).

      jeffa

      L-LL-L--L-LL-L--L-LL-L--
      -R--R-RR-R--R-RR-R--R-RR
      B--B--B--B--B--B--B--B--
      H---H---H---H---H---H---
      (the triplet paradiddle with high-hat)
      

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://268606]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-07-31 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls