Safari window re-size problem?

Hi, I have some html code that detects the size of the users monitor and expands to fit the available space centering the inset flash movie, that works fine with Explorer and Netscape but on Safari it breaks. Does anyone know where I can find a suits-all piece of html or point me in the right direction? many thanks :slight_smile: