I'm not sure if this is the right forum to post in, as I'm not too sure what the cause of my problem is, but I'm sure it can be moved later if its in the wrong one.
Anyway, I have a div that has display: table-cell applied to it so that it will expand and contract vertically as its content does. The problem happens when the div contracts. Safari is not refreshing the screen for the area which was covered by the div, but should now be uncovered. The only way I can get it to refresh is by scrolling the affected area off the screen and back on, or minimising safari. You can see an example here: http://www.kingram.ie/template.asp?file=news.
The page has a few accordion sections in it. Click on the grey bars to open and close sections. If you open a section and then close it, you'll be able to see the problem.
It only happens in safari 1.0.3 on mac osX. In safari 1.2, ie5/mac, ie6/win, opera 7, mozilla 1.5 and firefox there is no problem. Here is the css for the div.
border: 1px solid white;
/* commented backslash hack \*/
/* hack over */
Hopefully someone has come across this before. I've found nothing after looking everywhere I know to look, and I'm quickly running out of hair.