Missing doctype (you probably do want one), missing <html>, <head>, </head> is in wrong place, missing </body>, two <body> elements and in second document you have <br> after </html>. Then you include javascript files twice: once at start of document and once in middle, some of them are duplicates. Those errors probably aren't responsible to missing css, but you should fix them anyway because right now your documents are a total mess.

And its </tbody>, not </tdbody>. Check your files with HTML validator to see all errors.

As for missing styling, probably error lies in your css files or maybe you have set wrong url to it. My guess is on wrong url.

Not really. Apart from several serious security issues with your code (relying on register_globals being enabled and putting those variables directly in sql query without checking them first), that code is useless. It is completely irrelevant. All css links are in header, which is probably in aah.php

You can't wrap a table in a p element so remove the opening and closing p tags.

If your CSS is working in other pages then it's likely that it is corrupt html that is causing the issue. You only have to have one missing tag in a crucial place and the css misses its target completely.

So as others have said make sure the structure of the html is well formed.

It would be easier to debug this with a real page to work with:)

Don't forget to inspect the elements with Firebug and you can soon see where the styles are being applied and which elements are missed and then narrow the problem down that way.

There are many more errors as others have mentioned but without a link to the actual page or without a working demo it will be hard to pinpoint which error is causing the problem because as I mentioned it only takes one error in some cases to trip up a whole page.

Although your other pages are working with errors it doesn't neceesarily mean that all pages will work with errors and the ony way to eliminate html errors as a cause is to get them fixed and out of the equation. After that then debugging becomes easy.

Sorry, I can't be more specific as it's a bit like working in the dark when you don't have a working copy to debug.

Nevermind Firebug is really nothing for me, to weird and slow

Firebug is the premier development tool for all experienced developers. There really is nothing better and nothing more useful. You really should stick at it and learn to use it to your advantage. I use it constantly, literally hundreds (perhaps thousands) of times a day.

Really need help with this can't figure this out, already added the correct tags and ended them where needed.

Post the full updated html for the page that's not working (view source) and all the css files that you are using and indicate by name if possible which elements seem to be missing the styles that you mentioned (I understand you said some elements are styled and some are not).

The browser thinks that box-out, box-in and box-content are all finishing at the first three closing divs I have marked in bold. Therefore any rules that apply to those classes will stop short at the closing div because it thinks the context has ended.

Try just tidying up that table and test again. It may not be the cause but then we can rule it out and look again.:)