Do you realy need doctype to be transitional?
try using 4.01 strict:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
or use HTML 5 using simply:
<!DOCTYPE html>
I think this might solve your problem with no need to edit the css or javascript.