
Quick Tip: Did Internet Explorer get the Box Model Right? - NetTuts+
Project File | Video File | 13 Mb
Genre: Video Training
The CSS standard states that borders and padding should be applied on top of the specified width of an element. As such, if I have a 200px div, and apply 40px worth of borders and padding, total, the width will then be 240px. This makes perfect sense; however, Internet Explorer actually did things differently. They adopted a model where the maximum width is what you specified. The borders and padding are then factored into that width, reducing the content area. As a result, the width of the element never exceeds the stated width of 200px.
Получи вип статус и ты сможешь скачивать файлы на высокой скорости
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.
