Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: valign top

by malaga (Pilgrim)
on Aug 13, 2005 at 19:48 UTC ( #483597=note: print w/replies, xml ) Need Help??


in reply to valign top

you're right. this is a bad post. i was going on 24 hours of no sleep and i didn't test enough before i posted. i just tested a simplified version of the code and there's no problem with valign. for the sake of answering the question i'll post the code, but as i said, it works. this lazy method i'm using probably "breaks" the html somehow, because the tags in format.pl are right but the valign tag isn't getting picked up. or maybe i'm still smoking crack. anyway, i have to graduate to a better way of handling html on this one. thanks again for the suggestions and the ass-kicking. i know i'm loved.

Perl script:
require "format.pl"; & startcontent; #PRINT THE SUBMENU CONTENT FOR THE SELECTED MENU ITEM open (FILE, $content) or die "Can't open file!"; my @scoop = <FILE>; close(FILE); foreach my $sline(@scoop) { print $sline; } & endcontent;
format.pl:
sub startcontent{ print <<'END'; <table> <tr> <td valign="top"> END }
Malaga

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483597]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2017-12-14 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (383 votes). Check out past polls.

    Notices?