On Fri, Sep 10, 2004 at 02:49:45PM -0400, Kirill Lapshin wrote: > CSS. The page validates just fine using W3C validator, browser requests > both page, and css (css is linked not embedded) but ignores CSS and > shows unstyled page. At the same time Konqueror shows page just fine. If Is the CSS file being served as text/css? To do this, put request.response.set_content_type('text/css') in the handler for your CSS file (if it's served via Quixote). > My knowledge on web standarts is a bit lacking, but could it be because > content served as text/html as opposed to text/xml? How can I serve > pages as text/xml? Shouldn't it be application/xhtml+xml? See http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html. You can set the content type by calling request.response.set_content_type(), as above. (Point #3 in the cited article notes "When attached to HTML pages, CSS selectors are case-insensitive. But when attached to XML pages (including XHTML pages served with the proper XHTML MIME type), CSS selectors are case-sensitive. This shouldn't come as too much of a surprise; everything in XML is case-sensitive. Keep all your CSS selectors lowercase and you'll be okay." Could that be the problem?) --amk