HighDots Forums  

IE not using all styles in an imported stylesheet

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss IE not using all styles in an imported stylesheet in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gary
 
Posts: n/a

Default IE not using all styles in an imported stylesheet - 02-23-2009 , 05:17 PM






I created a page then went back and took the styles out and placed
them in a stylesheet. Now on IE not all of the CSS commands are being
used. For example a clear:both doesn't work when taken out and placed
in an external stylesheet.

Styles included:
http://gsvdl.net/archeology/xunantunich_a.htm
Styles in external stylesheet:
http://gsvdl.net/archeology/xunantunich_a_1.htm

What is happening here?

Reply With Quote
  #2  
Old   
John Hosking
 
Posts: n/a

Default Re: IE not using all styles in an imported stylesheet - 02-23-2009 , 05:51 PM






Gary wrote:
Quote:
I created a page then went back and took the styles out and placed
them in a stylesheet. Now on IE not all of the CSS commands are being
used. For example a clear:both doesn't work when taken out and placed
in an external stylesheet.

Styles included:
http://gsvdl.net/archeology/xunantunich_a.htm
Styles in external stylesheet:
http://gsvdl.net/archeology/xunantunich_a_1.htm

What is happening here?
The Validator (http://jigsaw.w3.org/css-validator/) says you've got
mangled code; I see a stray quote in p.firstfooter.

I also see doubled-up clear:both; in p.footer, a difference in margin in
#d1, multiple declaration of the stylesheet, and -- this is kind of
funny -- id's which have no semantic meaning, like "d1", and which can
easily be confused with other id's like "dl". In fact, I believe your
CSS has two rules for #dl and none for #d1.

I don't know which of the above might be relevant, but ...

HTH

--
John
Pondering the value of the UIP: http://improve-usenet.org/


Reply With Quote
  #3  
Old   
Gary
 
Posts: n/a

Default Re: IE not using all styles in an imported stylesheet - 02-24-2009 , 03:46 PM



On Feb 23, 2:51 pm, John Hosking <J... (AT) DELETE (DOT) Hosking.name.INVALID>
wrote:
Quote:
Gary wrote:
I created a page then went back and took the styles out and placed
them in a stylesheet. Now on IE not all of the CSS commands are being
used. For example a clear:both doesn't work when taken out and placed
in an external stylesheet.

Styles included:
http://gsvdl.net/archeology/xunantunich_a.htm
Styles in external stylesheet:
http://gsvdl.net/archeology/xunantunich_a_1.htm

What is happening here?

The Validator (http://jigsaw.w3.org/css-validator/) says you've got
mangled code; I see a stray quote in p.firstfooter.

I also see doubled-up clear:both; in p.footer, a difference in margin in
#d1, multiple declaration of the stylesheet, and -- this is kind of
funny -- id's which have no semantic meaning, like "d1", and which can
easily be confused with other id's like "dl". In fact, I believe your
CSS has two rules for #dl and none for #d1.

I don't know which of the above might be relevant, but ...

HTH

--
John
Pondering the value of the UIP:http://improve-usenet.org/
Thanks John it was the stray quote mark. I use the HTML Validator but
haven't used the CSS one. I will start.
Gary

"Football is a mistake. It combines the two worst elements of American
life. Violence and committee meetings."
- George F. Will
Go 49ers


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.