Without looking at your pages, I might also suggest declaring a document type so the browser better understands your coding (if you are not already doing this). And as mentioned above an html validator works wonders. You can use your favorite search engine and look for cse html validator. They have a free version. Or you can use the free online validator at
http://www.w3.org/