html5 - Extra height in div when i use <!doctype html> -


i using <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> when updated <!doctype html> div takes height. enter image description here

you can see above screen shot using doctype html5,the div have 20px height enter image description here when change doctype html 4.01 transional div height remove. reason , please provide me solution. can see on link : http://jsfiddle.net/satishmaurya/wxkzg7n2/


Comments