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. 
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA








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

Reply via email to