【发布时间】:2010-11-01 18:40:06
【问题描述】:
我的问题是是否可以为单个 div 重置 css 样式(很多) 以及该 div 中包含的所有元素。
我在问,因为我找到了一个 jquery 语音框的教程,它有它自己的 css 文件。 我不能只将样式复制到我自己的 css 文件中,因为它会破坏已经设置样式的页面的其余部分。
我考虑过使用 divwrapper 并将所有这些重置仅应用于那个。 我只是不确定这是否可能
我只知道这种方式
#divwrapper td{ set styles }
@CHARSET "UTF-8";
/******* GENERAL RESET *******/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td {
border:0pt none;
font-family:inherit;
font-size: 100%;
font-style:inherit;
font-weight:inherit;
margin:0pt;
padding:0pt;
vertical-align:baseline;
}
谢谢,理查德
【问题讨论】:
-
不是重复的,但肯定是相关的。
标签: jquery css styles css-reset