View Single Post
  #1   (View Single Post)  
Old 11th May 2008
erehwon erehwon is offline
Port Guard
 
Join Date: May 2008
Location: Cascadia
Posts: 34
Default Default Apache won't read .css file

Help! The default Apache install with my OpenBSD 4.3 box just won't display my webpages as styled -- displays them with no formatting at all.

Now, my "style.css" file is in the web directory, I checked the syntax, and the pages display as they should on my other machine, locally (a Mac laptop)

Both the CSS and HTML validate fine. I have tried both

Code:
<style type="text/css"> /*<![CDATA[*/ @import url(style.css) screen; /*]]>*/ </style>
and

Code:
<link rel="stylesheet" type="text/css" href="./style.css" />
but neither works.

I have TypesConfig conf/mime.types in my httpd.conf and css is listed; and I just don't get it.
Reply With Quote