默认情况下,DIV的高度由其内容决定.
但是,我重写它并使用jQuery显式设置高度:
$('div#someDiv').height(someNumberOfPixels);
我该怎么扭转呢?我想删除高度样式并使其恢复到自动/自然高度?
html css jquery layout
css ×1
html ×1
jquery ×1
layout ×1