The Box Model Problem

The Box Model Problem

Internet Explorer 5 for Windows does not handle text box heights and widths the way every other browser (including other versions of Internet Exporer) does. The link is to an article on how to work around that. I’m blogging it for my own reference here, but if you find it handy, great.

The difference is that other browsers take the height and width to be the inside height and width, so when you specify the size of a text box, that’s how much room you have for text, and the borders, padding, and margins add on to that. IE5 Win considers the size to be the outside size. This can really mess up the layout of a page.

Leave a Reply

You must be logged in to post a comment.