Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Forms Inputs

Why after creating forms, the display is different in Chrome and IE browsers?

I see that after creating forms, the textboxes are of different size in IE but same size in Chrome browser. Is there any way to correct it?

```<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>My page</title> </head>
<body> <form action="#" method="POST" name="my_form"> <input type="text" name="username"><br> <input type="password" name="password"><br> <input type="radio" name="gender" value="male">Male<br> <input type="radio" name="gender" value="female">Female<br> <input type="checkbox" name="foods" value="Grapes">Grapes<br> <input type="checkbox" name="foods" value="Apples">Apples<br> <input type="checkbox" name="foods" value="Carrot">Carrot<br> <input type="submit" value="Continue"><br>
</form>
</body> </html>

Oh..I watched the video again and found that it is possible to have different displays in browsers.

1 Answer

Brian Jensen
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Brian Jensen
Treehouse Staff

In case you are still interested in making forms appear the same in all browsers check out normalize.css it fixes browser inconsistencies.