I seem unable to get box-sizing to work for padding-box.
I added this to a div
the div when rendered in FF is 280px high?
I thought box-sizing was meant to stop the padding being added to the element size?
I must be doing something wrong, so your advice is appreciated.
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I added this to a div
Code:
height:200px important;
overflow:hidden;
box-sizing:padding-box;
padding-top:80px;
float:left;
the div when rendered in FF is 280px high?
I thought box-sizing was meant to stop the padding being added to the element size?
I must be doing something wrong, so your advice is appreciated.
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music