私のウェブサイトではreset.cssを使用しています。これをリストスタイルに正確に追加します。
ol, ul {
list-style: none outside none;
}
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, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
background: none repeat scroll 0 0 transparent;
border: 0 none;
font-size: 100%;
margin: 0;
outline: 0 none;
padding: 0;
vertical-align: baseline;
}
問題は、すべてのリストスタイルがに設定されていることです NONE
これでていることです。Webサイトのサブページのすべてのリスト(のすべてのリスト)の元のリストスタイル(デフォルト)に戻したい.my_container
。
私は設定をしようとしたときのようなものlist-style-type
には、inherit
ちょうどこのCSSプロパティのブラウザのデフォルトスタイルを継承しませんされています。
reset.cssを変更せずに、特定のプロパティの元のブラウザのスタイルを継承する方法はありますか?