| | |
HTML #Include file not loading
![]() |
•
•
Join Date: Nov 2009
Posts: 1
Reputation:
Solved Threads: 0
I have a .cgi file that reads POSTed data from an HTML questionnaire Form and displays HTML that lists all the scholarships the person may qualify for. I want to Include a file with CSS and a Header image. Unfortunately none of this is taking effect, only the list of scholarships that are not in the Font I want.
If you take the quiz at http://www.solotraveller.com/new%20s...ionnaire.shtml and answer anything Yes you will see the (undesirable) results.
The HTML (below) that the .cgi file generates, when saved to an .shtml file, renders the way I want. The page is http://www.solotraveller.com/New%20S...testlist.shtml
Can someone let me know why the .cgi does not load the Include file correctly?
Thanks!
<html>
<head>
<title></title>
</head>
<body>
<h1></h1>
<!--#include file="../header.htm"-->
<table width=800 border=1 cellspacing=0 cellpadding=0><tr><td><input type="radio" name="q1" value="DeVryHighSchool"</td><td width="90%"><a href="../Scholarship Requirements/Deans Scholarship.shtml">DeVry High School Scholarship</a></td></tr><tr><td><input type="radio" name="q1" value="Deans"</td><td width="90%"><a href="../Scholarship Requirements/Deans Scholarship.shtml">Dean's Scholarship</a></td></tr><tr><td><input type="radio" name="q1" value="Transfer"</td><td width="90%"><a href="../Scholarship Requirements/Deans Scholarship.shtml">Transfer Scholarship</a></td></tr></table></body>
</html>
If you take the quiz at http://www.solotraveller.com/new%20s...ionnaire.shtml and answer anything Yes you will see the (undesirable) results.
The HTML (below) that the .cgi file generates, when saved to an .shtml file, renders the way I want. The page is http://www.solotraveller.com/New%20S...testlist.shtml
Can someone let me know why the .cgi does not load the Include file correctly?
Thanks!
<html>
<head>
<title></title>
</head>
<body>
<h1></h1>
<!--#include file="../header.htm"-->
<table width=800 border=1 cellspacing=0 cellpadding=0><tr><td><input type="radio" name="q1" value="DeVryHighSchool"</td><td width="90%"><a href="../Scholarship Requirements/Deans Scholarship.shtml">DeVry High School Scholarship</a></td></tr><tr><td><input type="radio" name="q1" value="Deans"</td><td width="90%"><a href="../Scholarship Requirements/Deans Scholarship.shtml">Dean's Scholarship</a></td></tr><tr><td><input type="radio" name="q1" value="Transfer"</td><td width="90%"><a href="../Scholarship Requirements/Deans Scholarship.shtml">Transfer Scholarship</a></td></tr></table></body>
</html>
![]() |
Similar Threads
- PHP Include <head> tag? (PHP)
- include file needed (C++)
- <%@include file> (JSP)
- How HTML understands the file format(according to its extension)? (VB.NET)
- "Cannot Open Include File" MS Visual C++ error (C++)
- question about an include file (PHP)
- How to set up include file for navbar (HTML and CSS)
- Include a file from another website (ASP)
Other Threads in the Perl Forum
- Previous Thread: Visual Basic.Net Data types
- Next Thread: module caching in mod_perl
| Thread Tools | Search this Thread |





