[thelist] some questions on css: misuse and issues?

aardvark roselli at earthlink.net
Mon May 6 09:59:01 CDT 2002

> From: "Karen J. Bowen" <karen at miinx.com.au>
> So, yep, Christopher, if you're on a host server, get 'em to change
> the mime type as David says above.
> David - how did you know that about the server config??

<tip type="testing, debugging">
Not sure what MIME type a document is being served up as from
your web server?  Never fear, because as a good web developer,
you obviously have Lynx in your arsenal.  Simply do a header
dump and read through it all:

lynx -head -dump http://foo.bar/moot.css

You may pipe the results to a file in DOS simply by appending ">
filename.txt" at the end of the command.

Your results may look something like this:

HTTP/1.1 200 OK
Date: Mon, 06 May 2002 14:56:06 GMT
Server: Apache/1.3.6 (Unix) FrontPage/
Last-Modified: Sun, 05 May 2002 13:25:18 GMT
ETag: "1b4305-1c1d-3cd532be"
Accept-Ranges: bytes
Content-Length: 7197
Connection: close
Content-Type: text/plain

so the url for http://www.ideadesigners.com/id_co_uk/css/IDV1.css
returns a content type of text/plain when you do that (see above for
full header)...

Read the evolt.org case study
Usability: The Site Speaks for Itself
ISBN: 1904151035

More information about the thelist mailing list