Forum Moderators: open

Message Too Old, No Replies

Rendering in Mac

It doesn't - or so I'm told

         

D_Blackwell

9:10 pm on Jul 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've put up a site that I know looks good in current IE, Netscape and Opera, because I have all three. I've gotten a comment that on Mac (or at least hers) that my site has problems with "overlap and other distortion". I don't know what to do about this. Should I worry about it? I would love to fix it, but don't have access to a Mac to even look at it. (And no mention of specific OS) What to do?

I have not yet corrected the errors found after validating the CSS and the HTML, but do not see anything in the results that would indicate any serious problems.

tedster

12:12 am on Jul 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Correcting validation errors would be a first step. But you may well be right, this probably won't do it.

The OS and browser are critical here -- and I'd bet it's OS9 or earlier and IE 5 for Macintosh. The CSS support (among other things) in that browser is really dodgy. If you're using floated divs and such, you often need a hands on look to get it right, but you can start by leaving nothing to chance (that is, nothing to defaults) and set all the padding and margins explicitly in your CSS.

Should you worry about it? -- Mac runs 6% to 8% on most of the sites I deal with. In my opinion, you can't afford to ignore that big a chunk.

davis

3:12 am on Jul 7, 2003 (gmt 0)

10+ Year Member



Okay, the mac is interesting. I just finished building a site, and tried to make it as cross-browser friendly as humanly possible.

It IS possible... but not to w3 standards. Things which would pass the validator (at w3.org), would look perfect in IE for PC... but the second you went to Mac (osx, for IE, and Safari -- it looked bad).

Basically, cheating is usually needed. Try to validate your site as much as possible, but dont 100% validate it, if it doesnt work well on a mac. Cheat. Find a way around -- the golden advice. :)

While mac users dont take up a huge market share, remember your target market. (for example, im more targeted to new media people -- graphic designers, videographers, sound designers, are all using mac -- so I gotta remember them)

Now, thats just my ranting. :)

D_Blackwell

4:07 am on Jul 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have some flexibility here. I made the client aware of the issue immediatley. (Wanted to be first to tell him.) He doesn't want lose anyone, but isn't overly concerned. (for the moment --- he has a lot of pressing issues) I am the most unhappy of all the players. His audience is extremely heavy in IE and proportionately low for Mac --but I'll have to find a way to account for the Mac.

Cheating works for me. The primary problem at the moment is figuring out how to get at the problem. I haven't even seen it for myself yet - just been told that it "appears" serious. How do others deal with this type of thing. I don't have the capacity to run and test for everything.

futureX

4:20 am on Jul 7, 2003 (gmt 0)

10+ Year Member



The best thing to do would be to find someone who has a mac to take a few screenshots for you or find a mac community and ask them to take screenies for you to see where the problem is. This is still far from perfect as its always best to have the code live in front of you so you can see exactly how changes in the code affect the result.

willybfriendly

5:39 am on Jul 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When this happened to me I went to the local Mac outlet and took one of their machines for a test drive right there in the store :-)

WBF

g1smd

9:07 pm on Jul 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I cannot speak for the Mac, but I do know that pages using CSS usually break in various versions of Netscape, notably any 4.x variety. The result is images that overlap each other, and images that overlap the text.

In that particular case there is a very simple workaround, but the webmaster has to action it.

You should export the CSS to an external file and call it with an instruction in the <head> section of the page.

Most people usually use this link, but in this case it does not solve the problem:

<link type="text/css" rel="stylesheet" src="/path/file.css">

The version below does solve the problem, as it hides the CSS from these earlier browsers:

<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
@import url(path/file.css);
</style>

Maybe you could try this on a couple of pages and then get some user feedback as to whether it helps at all?

D_Blackwell

9:28 pm on Jul 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I will try this on a sample page.

Question #1 -- The site is driven entirely with CSS. If I hide it can I assume that my problem will be worse than ever?

Question #2 -- I have been using the link you described but with a twist.
--- HREF="/path/file.css">

Should I change to SRC? I'm assuming that SRC is the higher newer standard.?

g1smd

11:04 pm on Jul 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If you hide the CSS from older browsers then they will get a plain layout. It will not look like a wonderfully designed page, but it will not have overlapping elements and so on. It will be plain, but more usable.

Noted on the "href" vs. "src" difference. That might be a part of the problem. What does this resource say about both versions: [validator.w3.org...] ?

.

If you want to fix the problem you should use this link instead:

<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
@import url(path/file.css);
</style>

Make sure that you also check your CSS for errors using [jigsaw.w3.org...]

pjamescowie

3:10 pm on Jul 8, 2003 (gmt 0)

10+ Year Member



I'm a Mac-based webmaster. Some basic suggestions:

1. Find out from the person complaining which OS and which browser they are specifically using.... no point wondering why without these details! We need to know what we're dealing with here!

2. Post this message on the Webmasterworld.com Forum called "the Macintosh Webmaster" - it's a little further down the right hand side of the home page.... I'll bet you find a few people in there who'll take a look at the problem for you....