In my perl form, after my:
start_html
I want to open a div and then close it between the:
print end_form; and
print end_html;
I tried:
start_html(-style => {-src => '/style/form_stlye.css'},-title=>"My title here"),
print "<div id="form_div">",
h1("My H1 here");
## lots of stuff here
print end_form;
print "</div>;
print end_html;
but this does not work at all. How should it be done?
TOO VAGUE
Stating that something doesn't work is rarely useful in illiciting help.
What doesn't work?
I'm guessing that it simply doesn't render as expected. In this case, inspect the html source code (created by your perl script). Work out where the fault lies (in the html) and fix it (by adjusting your perl script).
It looks to me that the DIV and FORM tags may overlap but as I said above, I don't use perl_html stuff.
Kaled.
There was a typo in my original post, but not in my script.
print "</div>; should have been
print "</div>";
The solution is that:
print "<div id="form_div">", does not need the "print", the "start_html" takes care of that until the next ";"
"I will reluctantly post, I am disappointed with this forum".-Berrysweet
You've only made one other post, (in [webmasterworld.com...] ), and ended up saying "it wasn't that complicated" I figured it out"... instead of the polite "thanks", and here's how I did it code... a forum is only as good as the people who participate in it. I think you'll find WebMasterWorld holds the accumulated knowledge of 20+ years of online pros --- and all you have to do is ask the right question the right way and get the right answers.