...

View Full Version : IE 5.3 for MAC



michael180
05-25-2005, 11:31 PM
I have this page

http://moderntimes.com/palace/b/chapter.html

It loads correctly in every browser but that lousy IE 5!! I just can't get over it, how the supposedly number one browser in the world breaks up my page this way. I hate Microsoft. Anyway, I digress. When I move margins around to make it work in Gate's browser, I looks like crap in the other browsers. If anybody has a fix for this, I would appreciate it.

Thank you,
Michael

JamieR
05-26-2005, 05:28 PM
IE5 Mac I believe was a big faliure IMO. I don't know if it will fix the problem, and I haven't seen what it looks like in IE5 Mac, but try adding character encoding to your code as your code doesn't validate with it.


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Jamie.

EDIT:
added content type which I had forgot :o

Bill Posters
05-26-2005, 05:55 PM
<meta http-equiv="content-type" content="text/html" />

Jamie.
You seem to have missed the actual character encoding scheme. ;)


e.g.

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


There are a shed-load in errors on the page, many of a type that may well led some browsers to trip up.
Fix them all, then repost if the problem with your layout is still there. :)

JamieR
05-26-2005, 06:01 PM
Flip...so I did :o, I'll *edit* my post ;)

Bill Posters
05-26-2005, 06:13 PM
Flip...so I did :o, I'll *edit* my post ;)
Just out of curiosity, did your original code come from an editor or a website - or was it simply typing from memory?
I ask as I'm curious to know if this means that there are apps out there inserting incorrect character encoding tags into inexperienced people's web pages (as they build them).
I know that Dreamweaver used to insert incorrect DTDs, which lead to a generation of sites having non-compliant DTDs. I wondered if this was another case of an app getting it wrong and slowing down even further the progress of web standards.

JamieR
05-26-2005, 06:22 PM
I was typing from memory. I still use Dreamweaver for some some web coding, but I always use the code view and hand code everything....stuff like DTDs I copy from a list which I have because I can't remember them :|

As a lot of people say, WYSIWYG editors will never be fully standard complient, hand coding is the best way to code layouts etc - you get exactly what you want.

chilipie
05-26-2005, 06:25 PM
stuff like DTDs I copy from a list which I have because I can't remember them :|Hehe, and me :D . When I'm not at home (I have files with the different DTDs), I find Geoffers' snippets site (http://snippets.geoffers.uni.cc/) very useful ;) .

JamieR
05-26-2005, 06:26 PM
Yeah I do as well :)

michael180
05-26-2005, 06:52 PM
I'm trying to validate my page

http://moderntimes.com/palace/b/chapter.html

and I use #8220 and #8221 for opening and closing quotes, and when I try to validate, I get a warning thus;

Warning: reference not terminated by refc delimite?

Could someone tell me what that means?

Thanks,
Michael

chilipie
05-26-2005, 09:29 PM
Try putting a semi-colon ( ; ) after the character entitities :) .

michael180
05-27-2005, 02:29 AM
Try putting a semi-colon ( ; ) after the character entitities :) .

That works fine :thumbsup:

Thanks,
Michael

gsnedders
05-27-2005, 02:57 AM
*cough* The final version of IE for Mac was 5.2 *cough*

rmedek
05-27-2005, 05:02 AM
I have this page

http://moderntimes.com/palace/b/chapter.html

It loads correctly in every browser but that lousy IE 5!! I just can't get over it, how the supposedly number one browser in the world breaks up my page this way. I hate Microsoft. Anyway, I digress. When I move margins around to make it work in Gate's browser, I looks like crap in the other browsers. If anybody has a fix for this, I would appreciate it.

Thank you,
Michael
You can import a stylesheet just for IE Mac by using this in your <head>:


/*\*//*/
@import "iemac.css";
/**/

And then in "iemac.css" (or whatever you choose to call it) you can overwrite the margins that are giving you trouble with ones that will work for IE Mac.

Hope this helps,

michael180
05-27-2005, 05:51 AM
rmedek, why do I have to use the @import rather than a link, I've never used the @import, and am not to sure how to exactly apply it. But you definitely have something there, I keep the stylesheet that's already there and add the new one just for iemac.

If I can work this @import out I'll certainly give it a shot.

Thanks much,
Michael

michael180
05-27-2005, 06:00 AM
Richard,

Do I need all of this..

/*\*//*/ (these /s and *s)
@import "iemac.css";
/**/

I can't get it to recognize the iemac.css. Any clues?

Thanks,
Michael

rmedek
05-27-2005, 07:14 AM
Yes, you need the whole thing--it's a hack that takes advantage of an IE Mac parsing bug. If you're not familar with @import, here's the step by step:

1. create a stylesheet that overrides certain values for IE Mac
2. save it as whatever.css
3. In your <head> tags, import this special stylesheet like so:


<head>
<style type="text/css" media="screen">
@import "style.css"; <----- all browsers
/*\*//*/
@import "whatever.css"; <----- IE Mac only
/**/
</style>
</head>


You can find a lot more about this by Googling "IE Mac hacks." Hope this helps,

JamieR
05-27-2005, 09:53 AM
Yes, you need the whole thing--it's a hack that takes advantage of an IE Mac parsing bug. If you're not familar with @import, here's the step by step:

1. create a stylesheet that overrides certain values for IE Mac
2. save it as whatever.css
3. In your <head> tags, import this special stylesheet like so:


<head>
<style type="text/css" media="screen">
@import "style.css"; <----- all browsers
/*\*//*/
@import "whatever.css"; <----- IE Mac only
/**/
</style>
</head>


You can find a lot more about this by Googling "IE Mac hacks." Hope this helps,

Sweet :)

I knew about @import and use it on my website however I didn't know about that hack - I learnt something :D

michael180
05-27-2005, 06:42 PM
Hi Richard,

It works like a champ. :thumbsup:

Thanks so much for your help. I'm so new to all of this (CSS). I'v always used tables, and golive, and dreamweaver, but I never felt like I had control of anything, so now I hand code. This forum has been indispensable in changing the way I look at all of this.

Thank you,
Michael



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum