as you didn't post any url to take a closer look...
try to fix the document type, so that the browser renders the page in standard compliance mode (not quirks), to find the errors that may force quirks mode take a look at the error console of your browser or test the page with the validator of w3c:
http://validator.w3.org/