Re: [WSG] CSS Disaster

2004-06-04 Thread RC Pierce
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
* 



Re: [WSG] CSS Disaster

2004-06-04 Thread Kristof Neirynck
Sean M. Hall AKA Dante wrote:
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. 
It is that.
change it from
@import url('screenstyles.css') screen;
to
@import url(screenstyles.css);
See:
http://w3development.de/css/hide_css_from_browsers/import/
--
Kristof
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] CSS Disaster

2004-06-04 Thread Iain Gardiner
Title: Message



Hi 
Sean,

Interesting. Especially this 
bit:

 
"For my new History Website redesign, I worked hard on creating a valid XHTML 
1.0"

Allow 
me to quote this from Simplebits a month ago...

 "23. On May 6, 2004 8:08 PM, 
Dante 
said:

 D: Dont use XHTML at 
all.
 Seriously though even if 
I was silly enough to be using xHTML Id go with B.
 Its hard for me to say 
because Ill never ever need to use XHTML."

I guess a lot can change in a month, but 
nothing so drastically or as often as your opinions. Oh and by the way, I 
think Jeffrey Zeldman was talking about you in his recent Daily Report where he 
mentions a certain someone on the discussion boards of A List Apart. Not 
exactly the recognition you seem to consistently crave, but good 
job.

Iain


  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
  Sean M. Hall AKA DanteSent: 04 June 2004 02:53To: 
  [EMAIL PROTECTED]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? 



Re: [WSG] CSS Disaster

2004-06-03 Thread Ryan Christie

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? 
You provided no URLs. Nada. Zilch. Nein.
Sorry, no can help.
--
Ryan Christie| e: [EMAIL PROTECTED]
Harrisonburg, VA | w: http://shadyland.theward.net
---() ()--
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*