annoying xhtml rendering

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


when creating a form with, no matter if it is
use CGI;
$q = new CGI qw /:all -debug/;
print header and start the html etc..

print $q->start_form; OR
print $q->start_multipart_form();
print $q->textfield('blah');
print $q->end_form;

it *always* returns an obsolete trailing empty useless HTML
"<div></div>" container before the closing tag of the form.

Any ideas ? It seems not to be
a known issue.

(Perl5.8.1 on linux i386/ multi-thread-whatever)

Re: annoying xhtml rendering

FrankB wrote:
Quoted text here. Click to load it

Not for me, even passing the arguments to "new" (which I don't think do
what you think they do). Is your CGI up to date? I'm running

Perl 5.8.6 on darwin; CGI version 3.17.

Tom Wyant

Site Timeline