我使用了一个 CSS 重置来重置一些常用的项目。代码是这样的:
html, body, div, h1, h2, h3, h4, ul, ol, li, form, input, fieldset, textarea {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
}
ul {list-style: none outside none;}
img, fieldset {border: 0;}
h1, h2, h3, h4 {font-weight: normal;}
em {font-style: italic;}
strong {font-weight: bold;}
我知道有 YUI 和 Meyer 的重置,但我使用这个。
现在,我遇到的问题是我无法让提交按钮再次正常显示。我当然可以从列表中删除input
并完成它,但我想知道如何取回它,因为我将来可能需要它。