html, address,
blockquote,
body, dd, div,
dl, dt, fieldset, form,
frame, frameset,
h1, h2, h3, h4,
h5, h6, noframes,
ol, p, ul, center,
dir, hr, menu, pre
li
head
table
tr
thead
tbody
tfoot
col
colgroup
td, th
caption
th
caption
body
h1
h2
h3
h4, p,
blockquote, ul,
fieldset, form,
ol, dl, dir,
menu
h5
h6
h1, h2, h3, h4,
h5, h6, b,
strong
blockquote
i, cite, em,
var, address
pre, tt, code,
kbd, samp
pre
button, textarea,
input, object,
select
big
**all, sub, sup
sub
sup
table
thead, tbody,
tfoot
td, th
s, strike, del
hr
ol, ul, dir,
menu, dd
ol
ol ul, ul ol,
ul ul, ol ol
u, ins
br:before
:before, :after
center
abbr, acronym
:link, :visited
:focus
/* begin bidirectionality settings (do not change) */
bdo[dir="ltr"]
bdo[dir="rtl"]
*[dir="ltr"]
*[dir="rtl"]
@media print
h1, h2, h3,
h4, h5, h6
ul, ol, dl
}
網頁設計中的預設字型樣式詳解
瀏覽器預設的樣式往往在不同的瀏覽器 不同的語言版本甚至不同的系統版本都有不同的設定,這就導致如 果直接利用預設樣式的頁面在各個瀏覽器下顯示非常不一致,於是就有了類似yui的reset之類用來盡量重寫瀏覽器的預設設定保證各個瀏覽器樣式一致性的做法。拿字型來說,各個瀏覽器預設的字型種類 字型大小和字型行...
html預設的樣式
各種html標籤 h1 h6,p,ul,ol,dl 即使沒有給他們定義樣式屬性值,他們在瀏覽器中顯示時,也會具有各種樣式屬性 主要是字型大小和各種間距 這是因為瀏覽器和css給這些標籤設定了預設的樣式屬性值,各種版本的瀏覽器和css可能略有差別,下面列舉的是firefox 1.5 和css 2.1 ...
重置預設樣式
最近看到乙個詞叫css reset。什麼叫做css reset呢?我理解為重置css,也就是重置預設樣式。我在html下的預設樣式 中講到,一些標籤元素在html下有乙個預設屬性值,我們在寫css頁面的時候,為了避免在css中重複定義它們,我們需要重置預設樣式 css reset www.taoba...