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...

In reply to browser specific problem with CGI $query-start_html by pitbull3000

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.