Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

browser specific problem with CGI $query-start_html

by pitbull3000 (Beadle)
on Sep 03, 2001 at 01:12 UTC ( #109780=perlquestion: print w/replies, xml ) Need Help??

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 ->
window.open('form.cgi','Registration','width=300,height=450,scrollbars +=yes');
The head that is print out is this->
<?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">
and this is the print $query->start_html =>
print $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()');
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 part
<?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">
any clue what to do, i just donīt want to use old fashioned style, it is much longer...

Replies are listed 'Best First'.
Re: browser specific problem with CGI $query-start_html
by pitbull3000 (Beadle) on Sep 03, 2001 at 03:24 UTC
    sorry guys, solved the problem... co worker changed the css style sheet on friday, he styled the body overflow:hidden, so ie couldnīt show a scrollbar... so this could be the problem with two guys working on the same project ;-D pitbull

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://109780]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-12-01 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?