Forum Moderators: not2easy

Message Too Old, No Replies

CSS and IE for the Mac

can someone sticky me a URL?

         

too much information

6:12 am on Mar 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am redesigning a site using only CSS and it looks great! (This is my first all CSS site)

The problem is that it does not show up in IE for the Mac at all. The only part that shows up is the text from one single layer and it is not formatted at all.

The site looks great in IE (windows), Netscape, Safari, etc. but the small number of IE (mac) users that I get far outnumber my Safari visitors.

Can someone sticky me a URL of a pure CSS page so I can see if it's something I'm doing or if the CSS just does not work in the Mac version.

Thanks!

ram_mac

1:37 pm on Mar 4, 2004 (gmt 0)

10+ Year Member



What version are you using? Post this and your OS as well as some code and I could have a look on one of my copies of IE.

ps [I think that] 'layer' may be deprecated in HTML 4+ / XHTML 1+ so could this be part of it? [does MS care if something is deprecated though!?]

too much information

3:42 pm on Mar 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually I did find the problem and I was just comming to share.

I was using @media which was preventing all of my stylesheet from loading.

The fix for that was not hard to find after I realized what the problem was. The trick is to fool Mac IE5.x into ending the @media section of the stylesheet early. By placing

.be-nice-to-Mac-IE5 {
font-family: "\"}\"";
font-family: inherit;}

as the first class of the @media section, then IE uses the closing bracket in the first font-family setting to close out the style and the closing bracket in the second setting to end the @media section which then allows the remaining styles to load. This also doesn't mess up Windows browsers so it seems to be a good fix.

I can't take credit for this, I found it online. I would have to search for the page again but I believe my search was "CSS @media IE Mac" incase anyone is interested in who found this.

*edit - grammar