[ale] perl CGI.pm and width=>100% ??

David S. Jackson deepbsd at earthlink.net
Wed Feb 27 01:24:24 EST 2002


How do you express table cell widths in percentages while using
Perl CGI?  Obviously, the "%" is a reserved character, but doing
a \% makes it a reference to a hash, doesn't it?  Anyway, so how
do you say something like

print table({cellpadding=>5}, {width=>"100%"},
Tr(
td( p("blah")  ),
td( p("blah")  ),
),
);

so the width winds up being the percentage intended?


TIA!

-- 
David S. Jackson                        dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I just got out of the hospital after a speed reading
accident.  I hit a bookmark.  -- Steven Wright

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list