user216849
user216849

Reputation:

Form is not styled at all in Internet Explorer - CSS doesn't show up

I'm at a major loss and really could use any sort of help! I am writing a simple form on what will be a contact page (http://the4amburrito.com/contact.html)

The form is styled and looks fine in Safari and Firefox, but then in Internet Explorer 6, 7, and 8... nothing!The strange thing is that the header is still styled in IE, which means the CSS must be loading.

I've validated the CSS and tried about a million different things but nothing works. I am teaching myself CSS so perhaps I've done something really silly that will be obvious to someone else? Any ideas?

Upvotes: 2

Views: 505

Answers (2)

Guffa
Guffa

Reputation: 700212

That's because your HTML code is broken.

The div tag before the form tag is missing the ending >.

Upvotes: 1

Heinzi
Heinzi

Reputation: 172220

Your HTML is broken. For example, here's a missing >:

    <div id="contact"
    <form action="send_message.php" method="POST">

Please make sure your HTML is valid (use http://validator.w3.org, for example), then try again.

Upvotes: 7

Related Questions