in reply to how to format perl/cgi output in web page
This is a bit hard to follow:
The output shown does not match the output of your script: Among others:
Line 4, if($parval eq "stat1_val"){, is always true... so why are you using the conditional?
The .html is not valid. All the occurances of <li>...</li> should be inside an <ol>...</ol> or <ul>...</ul>
The occurances of <div id=$ss1 name=file></div> are invalid when between </li> and the next <li>.
You've given us no clues about the content of the javascript and left us guessing about the content of readfile.pl
Please clarify.
|
|---|