国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > HTML > 正文

IE6下網頁制作參考:IE6的默認樣式

2024-08-26 00:09:40
字體:
來源:轉載
供稿:網友
 這其實不是ie官方的文檔,好像是別人經過實踐搞出來的ie6的默認樣式,這個對我們馴服ie6很有參考價值。你會從根本理解ie出現的那些bug的原因。不過可惜ie不像firefox哪樣通過在地址欄輸入命令來直接查看firefox的默認樣式。
=======================================
internet explorer 6 default style sheet
=======================================
 
****** hypothetical *******************
 
this is a work in progress.
values are purely indicative.
for any suggestion or addenda,
please
contact me.
 
[back to css test]
 
================================
 
 
/* standard html elements 
============================ 
 
compare with the default style sheet
for html 4 (local copy).
these values may be affected by the
haslayout property.
we will not take in account  
the frame and frameset elements.
the table elements are not reviewed, due to
the lack of support for the corresponding
'display' values. */
the uncertain values are marked with '<' and '>'.
 
 
/* block-level elements */
 
html, body,
div, p,
blockquote,
ul, ol, dl,
dt, dd, address,
form, fieldset,
frame, frameset,
h1, h2, h3, h4,
h5, h6, hr, pre {display: block;}
 
head {display: none;}
 
html {margin: 0;}
 
body {margin: 8px;}
 
div {margin: 0;}
 
p {margin: 1em 0;}
 
blockquote {margin: 1em 40px;}
 
ul {margin: 1em 0 1em 40px; list-style-type: disc;}
 
li {display: list-item;}
 
ol {margin: 1em 0 1em 40px; list-style-type: decimal;}
 
ul ul {margin: 0 0 0 40px; list-style-type: circle;}
 
ul ul ul {margin: 0 0 0 40px; list-style-type: square;}
 
dl {margin: 1em 0;}
dd {margin-left: 40px;}
 
address {margin: 1em 0; font-style: italic;}
 
form, fieldset {margin: 0;}
 
fieldset {border: 1px inset <sistem color>;}
 
h1, h2, h3, h4, h5, h6 {font-weight: bold;}
 
/* the following  font size and vertical values are purely indicative,
since they depend on the font size/family set on the
body element */
 
h1 {font-size: 2em; margin: .6em 0;}
h2 {font-size: 1.5em; margin: .8em 0;}
h3 {font-size: 1.1em; margin: 1em 0; }
h4 {font-size: 1em; margin: 1.3em 0;}
h5 {font-size: 0.8em; margin: 1.6em 0;}
h6 {font-size: 0.6em; margin: 2.3em 0;}
 
hr {border: 2px outset <sistem color>;}
 
pre {margin: 1em 0; font-family: monospace; white-space: pre;}
 
 
 
 
/* inline elements */
 
a, i, cite, em, var, acronym,
tt, code, kdb, samp, del, ins,
u, dfn, sub, sup, big, small {display: inline; }
 
a:link {color: blue; text-decoration: underline; }
a:visited {color: purple; text-decoration: underline;}
 
i, cite, em, var {font-style: italic;}
 
tt, code, kbd, samp {font-family: monospace;}
 
del {text-decoration: line-through;}
u, ins {text-decoration: underline;}
 
sub {
vertical-align: sub; 
font-size: smaller; 
line-height: <value>;
} /* greater than 'normal' */
 
sup {
vertical-align: super; 
font-size: smaller; 
line-height: <value>;
} /* less than 'normal' */
 
big {font-size: larger;}
 
small {font-size: smaller;}
 
/* replaced elements */
 
/* we will take in account only input and textarea */
 
input, textarea {display: inline-block;}
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 乡宁县| 揭东县| 巴南区| 山西省| 津市市| 泰兴市| 马山县| 泗洪县| 通榆县| 柏乡县| 水富县| 建水县| 鄂温| 乌鲁木齐市| 贵州省| 安义县| 三原县| 静海县| 广饶县| 滦平县| 安远县| 同德县| 自治县| 昆明市| 镇雄县| 会宁县| 上思县| 翁牛特旗| 深水埗区| 榆林市| 雷州市| 禄丰县| 龙游县| 安泽县| 农安县| 西华县| 易门县| 丰原市| 大兴区| 麦盖提县| 灵宝市|