开发者

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

开发者 https://www.devze.com 2022-12-12 10:18 出处:网络
I\'m at a major loss an开发者_开发百科d 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)

I'm at a major loss an开发者_开发百科d 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?


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.


That's because your HTML code is broken.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消