Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > css and IE for mac 5.5

css and IE for mac 5.5
Thread Tools
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Apr 23, 2004, 02:08 PM
 
// Edit for prosperity: This wasn't a browser issue, but a cache issue, it worked in the end.

This works a treat (using borders to imitate a button)

Code:
#active { border-top: #999 2px solid; border-right: #000 2px solid; border-bottom: #000 2px solid; border-left: #999 2px solid; } #inactive { border-top: #000 2px solid; border-right: #999 2px solid; border-bottom: #999 2px solid; border-left: #000 2px solid; }
Untill I test it on IE for mac 5.5, (which is what I was testing my css out for ages on wondering why nothing was working) then only the bottom border shows up and doesn't change colour or size, sort of like a dead boring <hr>.

Anyone know of any hacks or fixes?
(Last edited by skalie; Apr 28, 2004 at 09:25 AM. )
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Apr 23, 2004, 02:44 PM
 
Oh joy, it looks like if I add a "Doc Type" for validation like a good boy the margins disappear on my other testing box (win IE 6).

Looks like css is either a lot more tricky or less suited to my needs then I thought.
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Apr 23, 2004, 05:57 PM
 
Originally posted by skalie:
Oh joy, it looks like if I add a "Doc Type" for validation like a good boy the margins disappear on my other testing box (win IE 6).

Looks like css is either a lot more tricky or less suited to my needs then I thought.
It's generally a good idea to always have a doctype in the first place, otherwise browsers render in quirks mode... which means that things may not render as they should.

As for styling your HR.. check back a few pages, a similar question was asked earlier.
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Apr 24, 2004, 12:06 AM
 
Originally posted by Synotic:
It's generally a good idea to always have a doctype in the first place, otherwise browsers render in quirks mode... which means that things may not render as they should.
......which is my original problem.

I'm trying to use the border attributes to emulate a raised button, but it appears it will not work in older browsers, and no browsers at all if I add a DOC-TYPE

[As for styling your HR.. check back a few pages, a similar question was asked earlier.
I was kind of hoping for more than a styled HR, I'll give css another day or so and then it's back to tables and gifs.
     
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status: Offline
Reply With Quote
Apr 24, 2004, 04:10 AM
 
Code:
<div style="border: 2px outset; background: buttonface; width: 300px">hi there</div>
Looks a bit like a raised button (Windows stylee).
Just who are Britain? What do they? Who is them? And why?

Formerly Black Book
     
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status: Offline
Reply With Quote
Apr 24, 2004, 04:12 AM
 
Originally posted by skalie:
I'll give css another day or so and then it's back to tables and gifs.
Please don't go back!
Just who are Britain? What do they? Who is them? And why?

Formerly Black Book
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Apr 24, 2004, 08:35 AM
 
Ahh.. I didn't know at all what you were referring to... what you were styling... if there were other rules... if what you were styling contained anything... Are you just styling an empty div? It may collapse on itself if you have nothing in there. Some more context would be helpful.
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Apr 26, 2004, 01:49 AM
 
Turns out it is/was a weird cache problem.

I got into work, checked out the buttons and they were working under the 5.5 Mac browser, more investigation, it seems that the CSS styles were getting cached while the button text, for example, was getting refreshed......

It's things like this that keep the character building aspect in web development.
     
Forum Regular
Join Date: Jul 2002
Location: Seattle
Status: Offline
Reply With Quote
Apr 26, 2004, 01:11 PM
 
/\
Did I miss out on IE 5.5 for Mac? I thought MS stopped at 5.23 or something...
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Apr 27, 2004, 12:15 AM
 
Originally posted by cnelson87:
/\
Did I miss out on IE 5.5 for Mac? I thought MS stopped at 5.23 or something...
Pardon my bad, it is indeed 5.1.2 (3707), and "missing out" is very generous terminology.
     
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Apr 28, 2004, 12:39 AM
 
Originally posted by skalie:
Pardon my bad, it is indeed 5.1.2 (3707), and "missing out" is very generous terminology.
Bob: "So Peter, I hear you've been missing a lot of work lately."
Peter: "I wouldn't say I've been missing it, Bob."
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2