Dave M G wrote: > CSS Discuss, > > Today I discovered a very strange problem with my CSS. I call it strange > both because it is completely perplexing to me, and also because I'm > sure I'll struggle to describe it properly. > > This is happening on my local testing machine, which is not serving any > pages to the web. It's just a local LAMP set up for me to test my > designs before uploading. > > Today when I opened up one of my web sites from a local directory, I was > surprised to see that it wasn't showing me any of my CSS at all. But it > wasn't completely unstyled either. It was a sort of generic style. > > I have FireFox's "Web Developer" toolbar installed, so I used that to > look at the CSS. To my surprise, the CSS was some completely different > CSS. It said at the top: > /* > Base Style Sheet for the W3C CSS validation service > based on the one for Markup Validation Service. > Copyright 2000 W3C (MIT, INRIA, Keio). All Rights Reserved. > See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright > $Id: base.css,v 1.13 2007/03/09 04:40:02 ot Exp $ > */ > > Huh? I never downloaded or selected at any time to use this style sheet. > > My first thought was that maybe somehow I had accidentally copied this > CSS down from somewhere and wrote it over my own style sheet. So I > located the CSS file in my local directories, and opened it with a text > editor. > > But it wasn't the CSS I was seeing in FireFox, it was my CSS. > > So my next thought was that maybe there's an error in my HTML where I > link to the external style sheet. Maybe what I'm seeing is some FireFox > default stying for when the CSS isn't found. > > After eyeballing the directories and links over and over, I was sure > that the path to the CSS file was correct. To experiment for sure, I > changed the path in my HTML to something that was definitely wrong, and > then reloaded the page. > > And this is where it gets really weird. When I broke the link > deliberately, the web page showed up without any style sheet at all. > Just the default HTML layout. > > When I repaired the link to point to the file that I am certain is my > own CSS, it went back to this W3C CSS style sheet as above. > > So, when the link is incorrect, I get no style sheet at all. When the > link is correct, I get some other CSS than my own. > > Where the heck is this "W3C" CSS coming from, and why is it over riding > my own CSS? > > I hope someone can shed some light on this. > > Thank you for any information or advice. > > Not sure that this is really within the purpose of this list, but it would seem that you must have something wrong in the path to your style sheet. If the browser can't find your style sheet, it will display the page as if there is no style sheet at all, so that part is normal. Can you provide a link to your page? If not, you should post the code that attempts to load the style sheet.
Lori ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
