January 7, 2011

CSS Reset

寫CSS有一陣子,為了節省時間美化版面,找了一個比較簡單的樣式表

新增一個css檔案,把全部複製貼上即可


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 {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

:focus {outline: 0;} /* Firefox連結圖片所產生的虛線 */

/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}

table {border-collapse: collapse;border-spacing: 0;} /* tables still need 'cellspacing="0"' in the markup  */

0推薦此文章
Today's Visitors: 0 Total Visitors: 8
Personal Category: 網頁設計 Topic: technology / tech info / programming
Next in This Category: 內行文本如何垂直居中?
[Trackback URL]

Reply
  • 1樓

    1樓搶頭香

    佷倪僞冑呩

    原來AV男星這麼-強是靠vividㄛ
    想知道更多?

    你還在.等什麼?快來本站
    http://gg59high.com

  • at September 28, 2011 03:26 PM comment | email
Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0