6 replies [Last post]
d3signmonk3y
d3signmonk3y's picture
Offline
Enthusiast
Toledo, Ohio
Last seen: 16 years 7 weeks ago
Toledo, Ohio
Timezone: GMT-4
Joined: 2003-07-29
Posts: 59
Points: 0

Hi all,

I know controlling cellspacing with CSS has been discussed in several threads already, but none of the solutions presented seem to be working for me in IE 5.1.6 on Mac OS 9.2.2.

I've tried td padding of 0, and border-collapse and border-spacing on the table, but none of them are working. Has anybody else run into this problem? Am I overlooking something simple?

thanks

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Quirks or strict

Hi d3signmonk3y,
I think IE5 on Mac was one of the first browsers to display in quirks or strict mode.
Once on the page put

javascript:alert(document.compatMode); 
into the address bar and push enter.

An alert box will then say "CSS1Compat" if it is in strict or standards mode and "BackCompat" or "QuirksMode" if in quirks mode.

You may then have to change the doctype to get it int strict mode if it is quirks mode.

Hope that helps

d3signmonk3y
d3signmonk3y's picture
Offline
Enthusiast
Toledo, Ohio
Last seen: 16 years 7 weeks ago
Toledo, Ohio
Timezone: GMT-4
Joined: 2003-07-29
Posts: 59
Points: 0

Cellspacing for IE 5.1.6 on Mac OS 9.2.2

Hi Tony,

Thanks for the response. I'd never seen the compatMode property before, unfortunately it appears to be undefined in Mac IE, but on a windows machine it returns CSS1Compat and the page validates as valid XHTML 1.0 Transitional. Do you have access to a mac machine? Have you gotten cellspacing of 0 to work with CSS?

Thanks for the help.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Cellspacing for IE 5.1.6 on Mac OS 9.2.2

Hi d3signmonk3y,
Looks like I was partly wrong, IE5 Mac was the first to provide two rendering modes. Unfortunately it must have been before compactMode was introduced.

Here's a great page by Eric Meyer that explains more Picking a Rendering Mode

Sorry I don't have a Mac but I think this year when I writ to Santa I'm going to ask for one Cool

Is it working on other browsers?
Can we have a look at an example page?

d3signmonk3y
d3signmonk3y's picture
Offline
Enthusiast
Toledo, Ohio
Last seen: 16 years 7 weeks ago
Toledo, Ohio
Timezone: GMT-4
Joined: 2003-07-29
Posts: 59
Points: 0

Cellspacing for IE 5.1.6 on Mac OS 9.2.2

I don't think our dev server is accessible to the outside world, but here's a stripped down version that focuses in on the table I'm having issues with.

It works fine in:

Mozilla 1.0.1 and Netscape 7.02 on Mac OS 9.2.2

Safari 1.0 in OS X 10.2.6

Netscape 6.2, Opera 7.02, IE 5.0, 5.5, 6.0 on PC

It fails in IE 5.1 on Mac OS 9.2.2 and IE 5.2 on OS X.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Cellspacing for IE 5.1.6 on Mac OS 9.2.2

Hi d3signmonk3y,
It seem that IE 5 has no or very bad support for border-collapse;
Here's is a CSS support table which shows it as Destroyed for IE5 win, unfortunately it doesn't show results for Mac.

I looked at other support charts and was unable to find border-collapse results for IE5 Mac.

d3signmonk3y
d3signmonk3y's picture
Offline
Enthusiast
Toledo, Ohio
Last seen: 16 years 7 weeks ago
Toledo, Ohio
Timezone: GMT-4
Joined: 2003-07-29
Posts: 59
Points: 0

Cellspacing for IE 5.1.6 on Mac OS 9.2.2

I guess it's not the end of the world if I have to leave cellspacing="0" in my HTML code.

Here's a page I found listing different browsers CSS support for tables.

http://macedition.com/cb/resources/tableCSStest.html

It states that IE mac doesn't support border-collapse, so it looks like there may not be a way to get it to work.

Thanks for looking into it.

Erik