This hack http://themechanism.com/blog/2007/03/28/safari-css-hack/ no longer seems to work on the latest version of Safari (3.0.2) MS Version. Anyone found a reliable routine to detect Safari for the purpose of substituting CSS commands (singularly or entire stylesheet); e.g., margin-left: which renders differently for IE, Firefox, Opera and Safari. tnx
Code to the standards. Seriously. Safari shouldn't need hacks. Different code perhaps (that's also fed to the other browsers) but not hacks. I had to do this yesterday with a client's site (I had a left and right border applied to the body of a Web page, and both IE 7 and Safari choked on it; moving the borders to the #container DIV I was using to give the page a 100% minimum height, then increasing the width of the body selector to adjust for the border did the trick - no hacking was needed).