CSS Problem with IE9 styling on login box


I need to make a simple login section. I am using a small php script which holds the login information etc.

The login form looks fine in Firefox, Chrome, Safari, but not in Internet Explorer.

Does anyone know what is causing the form to go on the left side of the screen with no styling?

Any help would be greatly appreciated.


I can’t take a full look due to me being out the door for work, but I notice you don’t have a doctype, you need one on every webpage :).

You might also want to run your pages through the HTML and CSS validator


rather embarrassingly, this was the problem!!

I downloaded the script and this way already there, didn’t notice to change it.


You’re welcome :).