Sam-I-Am on Web Development

Sam Foster on the web and web-ish software developmen

Friday, March 01, 2002

MacIE5 CSS Hack
I'm testing out this macIE5 CSS quirk which seems to allow isolating and targetting of a rule for macIE5 only. Handy, as that browser has some other annoying quirks -like its tendency to miscaculate the width of scrollable divs/iframes/windows and display a horizontal scrollbar. Setting margin-right: 16px just for macIE5 will fix it, but until now I've not had a way to do that without doing browser sniffing and setting the property with javascript.
Anyway, let's hope it holds. Fingers crossed.

0 Comments:

<< Home