On Mon, 4 Jun 2001 13:10:45 -0500 (CDT), <[EMAIL PROTECTED]> said:

> hello,
>  i am trying to print out some html in my script and IE and Opera both
>  display the html properly, however netscape will actually display the html
>  as if it were a text doc. i would assume that something would be incorrect
>  in my content-type, but i just don't see it.
>  
>  sub beginhtml {
>  print <<begin_html;
>    Content-type: text/html\n\n
<--
Flush Content-type to the left.  I don't want to get into the details of which
browser is conformant to the standards and which is not, just wanted to say
that starting a header line with a space indicates that it's a continuation
from the previous line.  So, header lines should not be prepended by spaces,
tabs, and such.

>    <html>\n
>    <head><title>Control Panel</title></head>\n
>    <body bgcolor=white>\n
>  begin_html
>  }



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to