Date:  09/27/2002 01:06:48 PM Msg ID:  000896
From:  Gary Wood Thread:  000896
Subject:  CSS link is not working
I cannot get the HREF linked CSS to display in either Netscape 6.2 or IE 5.5??
 
The main .PRG program calls the .MRG HTML filelike:
 
html_out = MergeTxt(ReadFile('main_menu.mrg'))
 
The merge HTML file is:
 
Content-type: text/html
<HTML>
<HEAD>
<TITLE>Gary's Timecard Main Menu</TITLE>
<LINK REL=stylesheet HREF="style.css" TYPE="text/css">
</HEAD>
<body bgcolor="#cccccc">
<h1>Time Card Menu</h1>
<p>Employee: <<eename>><br>
<p>Company:  <<Company>>
</BODY>
</HTML>
 
The CSS file is located in the same directory as the .PRG and .MRG files as contains the following:
 
H1 { color: green; background: gray; font-size: 37px; font-family: arial }
P { color: yellow; background: gray; font-family: arial }
 
I get the following error message:
 
Content-type: text/html
Error in line 1: Unrecognized command verb.
What am I missing?
 
thx...........Gary