Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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

In reply to Re: valign top by malaga
in thread valign top by malaga

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found