It might also be a problem that your running in quirks mode, you should really add a doctype to your files.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
P.S. Click here for more information.