Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: CGI and CSSby marto (Cardinal) |
on Mar 04, 2014 at 17:53 UTC ( [id://1076921]=note: print w/replies, xml ) | Need Help?? |
"I just don't understand why it's not displaying the image correctly" Clearly the path is not correct in relation to where this file is being served from. If the webserver says 404, the file you're looking for isn't available at the location you have requested. Had you changed the src/href to be the full http address to the file (which you say works) you could see your page working. If you want to make life easy for yourself error logs, debugging .... Take the time to learn the basics of the tools you have chosen to work with, Tutorials->CGI Programming->Ovid's CGI Course. Returning invalid HTML is also a sure fire way to confuse matters.
In Section
Seekers of Perl Wisdom
|
|