The codesample you provided worked fine with me on firefox 0.8, IE 6.0, mozilla 1.6 en opera 7.23. I do have the following line in my head tags : <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> maybe this is of any help.