in reply to CGI and CSS
To diagnose your immediate problem, use a debugger on your browser to enable you to see exactly what HTML the browser received and exactly what the browser did in response to it. Also examine the web server’s access and/or error logs. Generally speaking, content such as CSS and images should be static, served-up directly by the web server without directly involving your program, so the correct operation of the site will depend both upon your Perl programming and the web server configuration for this particular URL.
Meanwhile, to avoid burying yourself completely in an unmarked grave of Maintenance Hell™, rewrite this program (a) to use an existing web site framework, and (b) learn how to use templates to separate the HTML presentation of your site from the logic which drives it. A program with a design such as the one you are starting to construct here, will become a noose around your neck in no time at all.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI and CSS
by AdrianJ217 (Novice) on Mar 04, 2014 at 17:18 UTC | |
by marto (Cardinal) on Mar 04, 2014 at 17:53 UTC |