Please have a look at this page: http://www.stroke7.com/test/ with Safari and you will see the issue I am having. I develop on the PC, so I honestly have no idea how to approach this problem. This tests fine on Firefox 1.5 and IE 6, IE 5.5, IE 5.01 on WinXP SP2.
The page uses the Script.aculo.us animation effects library. Using Javascript, the page generates the next / previous arrows, and assigns onclick behaviours. It's supposed to fade out the current item and fade in the next item. No worries on PC.
However, my friend tells me that Safari puts a big white block over everything after the page loads. Any suggestions? Is this a CSS issue? or Javascript issue?
OK, I have figured out the culprit: it's the CSS, not the Javascript.
There is one line in my code which just throws Safari for a loop:
div.work-js { overflow:hidden; <-- this line }
Anyway, I moved that line over to the IE styles and things seem to be alright now. For all the evils that IE presents to the web design community at least we have conditional comments. Are there any CSS hacks / ways to hide rules from Safari without invalidating our stylesheets?