Just a thought:

Are you writing,

@import url('%styles.css%')

or,

@import url('%styles.css%');

???

The semi-colon is absolutely essential.

Roy

----- Original Message ----- 
From: "Sean M. Hall AKA Dante" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 7:53 PM
Subject: [WSG] CSS Disaster


"Dad, I'm not saying I wrecked the CSS.....but I'm gonna need a new stylesheet".

This is how I feel right now. For my new History Website redesign, I worked hard on 
creating a valid
XHTML 1.0 Transitional structure consisting of semantic, organized markup. I validated 
tha markup
and the CSS (which didn't validate cuz I use -moz-box-sizing). I worked hard, and even 
added a
DOM-driven behaviour layer.

Opera 7.23 (IMHO, the best browser ever) renders it beautifully, as I expected. Opera 
7.23 rewards
me for my hard work, which is why I love it.

How does IE repay me? By not loading the bloody stylesheet at all (it does load the 
external .js
file though). Period. Nein.

At first I though it was this:
@import url('screenstyles.css') screen;
I use single quotes so IE5/Mac won't see the stylesheet. But I switched to double 
quotes and still
no luck. Removed the screen; part. Nein. not yet. Removed the conditional comments for 
IE in the
head section: no, no, nein.

Almost all of my visitors use IE, and I have less than two weeks to solve the problem.

CSS is an excellent car, but IE is a broken muddy pothole-filled road.

Anyone know any bugs that prevent IE from loading a stylesheet?


*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to