External CSS
Hi,
I have a really big problem.
I'm working in a pretty large web design company.
We are developing all of our site 100% on Macintosh computers. A bad thing about this is that fonts do not have the same size on Macintosh and Windows browsers. (Fonts are smaller on the Mac, thats why I can hardly read what I'm wrting, too). Anyway, in order to make the sites Windows compatible we used to change all the pages after the design was completed. Since, the change you have to do is the same on all pages, we decided to have a single css file for all pages using this tag:
<link rel="stylesheet" href="../../parma.css">
It seemed to work perfectly on the Mac with both NS and IE and it also works on PC systems with NS. IE, though, seems to ignore the font size defined in the css file. What is really weird about this is that it doesnt ignore other properties like font-family and font-weight, so all text has standard size.
Unfortunately, the host of this particular site does not support SSI, so we had to include the style sheet into every page manually which was a lot of work and it will be again as soon as the sheet has to be changed.
Does anybody know a workaround, so IE will behave as expected?
Thank You,
Malte
------------------
Malte Ubl - www.Boardzilla.org
Communication: public<->programmers
of the Boardzilla BB
merlin posted this at 16:56 — 21st January 2000.
They have: 410 posts
Joined: Oct 1999
this looks somehow like the problem i have (the CSS-discussion in here), just the other way round (my site looks fine with IE, but not with N).
i don't have a clue...
John Pollock posted this at 20:20 — 21st January 2000.
He has: 628 posts
Joined: Mar 1999
Are you allowed to post the css file? We could take a look at it and see...
------------------
John Pollock
http://www.pageresource.com
http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
Malte posted this at 14:13 — 24th January 2000.
They have: 297 posts
Joined: Apr 1999
Sure,
here it is:
.parma {font-family: Arial, Helvetica, sans-serif; font-size: 9pt; line-height: 10pt; font-weight: normal; font-variant: normal}
.parmaBold {font-family: Arial, Helvetica, sans-serif; font-size: 9pt; line-height: 10pt; font-weight: bold; font-variant: normal}
.parmaSmall {font-family: Arial, Helvetica, sans-serif; font-size: 8pt; line-height: 9pt; font-weight: normal; font-variant: normal}
.parmaSmallBold {font-family: Arial, Helvetica, sans-serif; font-size: 8pt; line-height: 9pt; font-weight: bold; font-variant: normal}
.parma15ptline {font-family: Arial, Helvetica, sans-serif; font-size: 9pt; line-height: 13pt; font-weight: normal; font-variant: normal}
.parmasemiBold {font-family: Arial, Helvetica, sans-serif; font-size: 9pt; line-height: 10pt; font-weight: bold; font-variant: normal}
.parmaTimes {font-family: "Times New Roman", Times, serif; font-size: 9pt; line-height: 10pt; font-weight: normal; font-variant: normal}
.parmaTimesBig {font-family: "Times New Roman", Times, serif; font-size: 11pt; line-height: 12pt; font-weight: normal; font-variant: normal}
Later,
Malte
------------------
Malte Ubl - www.Boardzilla.org
Communication: public<->programmers
of the Boardzilla BB
Malte posted this at 18:31 — 25th January 2000.
They have: 297 posts
Joined: Apr 1999
Any fresh ideas?
Thanx,
Malte
John Pollock posted this at 22:20 — 26th January 2000.
He has: 628 posts
Joined: Mar 1999
I'm not sure, it worked for me in IE5 on my PC...
I don't see anything wrong with the code or anything. I can't be sure since it doesn't mess up on me here.
Java Script: A Beginner's Guide
Page Resource
Malte posted this at 16:29 — 27th January 2000.
They have: 297 posts
Joined: Apr 1999
Did you put it inside an external css-file.
We tested with IE 5.0 on NT and IE 4.5 on Macintosh.
Later,
Malte
John Pollock posted this at 18:21 — 27th January 2000.
He has: 628 posts
Joined: Mar 1999
Oh.. I'm on Win98. The IE for NT and 98 as far as I know has its differences. I remember getting email from NT people about javascript properties that didn't work in the NT version- it might be the same with the external css..?
How do you call it, there are a few ways to call the css file, maybe one will work in NT.
Java Script: A Beginner's Guide
Page Resource
Jack Michaelson posted this at 09:59 — 28th January 2000.
He has: 1,733 posts
Joined: Dec 1999
I don't think NT/98 makes a difference.
I use the following on both NT and 98:
<link rel=stylesheet href="../../style.css" type="text/css">
Jack
Shakespeare: onclick || !(onclick)
Malte posted this at 11:27 — 28th January 2000.
They have: 297 posts
Joined: Apr 1999
We used that way. What are the other ways?
Malte
Jack Michaelson posted this at 11:57 — 28th January 2000.
He has: 1,733 posts
Joined: Dec 1999
Malte,
I don't know if it worx on CSS-files, but maybe u can try the <!--#include file-->
Anyway, it's just a wild guess.
Jack
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.