On Wed, 27 Nov 2002 04:27, L.V.Gandhi wrote:
> When I call the cgi file given below, I don't get the effects of stylesheet
> mentioned in the header and also the picture. both the files are in the
> same folder as that of the cgi file.
> ===============================================
> #!/usr/bin/perl
>
> print <<End;
> Content-Type: text/html\n\n
> <html>
> <head>
> <title>test</title>
> <link rel="stylesheet" type="text/css" href="teststyle.css" />
> </head>
> <body>
> <h1>test</h1>
> <img src="gandhi.jpg" alt="My picture"  height="153" width="131"
> align="left"> </body>
> </html>
> End
> ==============================
>  I called the script with test .html given below.
> <html><head><title>Test</title></head>
> <body>
> <a href="cgi-bin/test1.pl">csstest<a><br>
> </body></html>
>  What should be done to get the desired effect.

May be you have already checked but it is a candidate for the error. Check 
for uppercase in the filenames. Cheers
-- 
Michael

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to