Connecting Tech Pros Worldwide Forums | Help | Site Map

IE7 not reading CSS sheet

Newbie
 
Join Date: Oct 2007
Posts: 7
#1: Oct 20 '07
I have a site that is not on a server yet, but I have it working on FF, ie7 & opera.
I have open it with FF, ie7 and opera on several different computers.

However, I opened it up on yet another computer with ie7 browser and it didn't read the style sheets.

Is there some sort of version of ie7 that does this?

This is what I'm doing: checking if ie7 if so using style sheet x if ont using style sheet y.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

<head>
<title></title>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="mystyle1.css"

/>
<![endif]-->

<![if !IE]>
<link rel="stylesheet" type="text/css" href="FFstyle1.css"

/>
<![endif]>

</head>

Any clues?

drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,580
#2: Oct 20 '07

re: IE7 not reading CSS sheet


It can only be that particular browser or that one computer. I don't recall if IE can turn CSS off under 'view' up in the toolbar.
Newbie
 
Join Date: Oct 2007
Posts: 7
#3: Oct 20 '07

re: IE7 not reading CSS sheet


Quote:

Originally Posted by drhowarddrfine

It can only be that particular browser or that one computer. I don't recall if IE can turn CSS off under 'view' up in the toolbar.

Could this be due to a high security setting?
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,580
#4: Oct 20 '07

re: IE7 not reading CSS sheet


I wouldn't think so since CSS is not a script but I don't know either.
Newbie
 
Join Date: Oct 2007
Posts: 7
#5: Oct 21 '07

re: IE7 not reading CSS sheet


Quote:

Originally Posted by drhowarddrfine

I wouldn't think so since CSS is not a script but I don't know either.

Hi I just got some new info about the browser that is being used...

It's actually
ie 6.0.2900.2180.xpsp_sp2_gdr.050301_1519

So this is ie6 with service pack sp2 correct?
Not sure if this makes a difference or not.

Anyone know about this?
Thanks
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,580
#6: Oct 21 '07

re: IE7 not reading CSS sheet


It means nothing. .
Reply