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

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -