pitbull3000 has asked for the wisdom of the Perl Monks concerning the following question:
hi,
there is a problem with the html document head part printed out with $query->start_html();
i start a script in a javascript opened window ->
The head that is print out is this->window.open('form.cgi','Registration','width=300,height=450,scrollbars +=yes');
and this is the print $query->start_html =><?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><title>F +UTURA IMMOBILIEN Expose Download</title> <link rel="stylesheet" type="text/css" href="../assets/globalstyle.css +" /> <script type="text/javascript" language="JavaScript"> <!-- Hide script //<![CDATA[ function check_contactForm(contactForm){ HERE IS THE JAVASCRIPT PART } //]]> End script hiding --> </script> </head><body bgcolor="white" leftmargin="10" topmargin="10" onload="se +lf.focus()" marginwidth="10" marginheight="10">
now the problem: the form that is printed in the body, is longer than the window, but in ie5 the window shows no scrollbars, in nn6 and nn4.7 there are scrollbars...?! if i print out the head in old fashioned style with a print for each row of text , ie5 shows the scrollbars... is it possible that ie5 doesnīt like this partprint $query->start_html(-title=>'FUTURA IMMOBILIEN Expose Download', -style=>{'src'=>'../assets/globalstyle.cs +s'}, -script=>$jscript, -BGCOLOR=>'white', -topmargin=>'10', -leftmargin=>'10', -marginheight=>'10', -marginwidth=>'10', -onLoad=>'self.focus()');
any clue what to do, i just donīt want to use old fashioned style, it is much longer...<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
Back to
Seekers of Perl Wisdom