Where does the css file actually reside? What happens if you fully qualify the href?
say '<link rel="stylesheet" type="text/css" href=" http://server/path/sample.css" />' -- Donald Grinsell State of Montana 406-444-2983 [email protected] "I love deadlines. I love the whooshing sound they make as they fly by." ~ Douglas Adams -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Dana Mitchell Sent: Wednesday, February 12, 2014 2:04 PM To: [email protected] Subject: Getting style sheets to work under IBM HTTP Server I'm working on creating some web pages in a REXX CGI served up with IBM HTTP Server V5R3M0 but I can't get it to work. (the REXX and the html was working by itself, before I started trying to move the formatting to a css file). In my REXX CGI I have coded: say '<head>' say '</head>' sample.css contains: body {font-family: arial; } h1 { background-color:#CCC; border: 1px solid; color:#39F; text-align: center; } table { background-color: #F60; border: 1px solid #39F; width: 100%; } td { border: 0px; text-align: center; } p { color:#09F; text-indent: 20px; } When I call the REXX, in cgi-error.Feb122014 gets this message: /usr/lpp/internet/server_root/cgi-bin/sample.css 1: FSUM7332 syntax error: got }, expecting Newline Has anybody done this and gotten it to work? whats the trick I'm missing? thanks Dana ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
