css的默认值

来源:互联网 发布:淘宝无线视频无法订购 编辑:程序博客网 时间:2024/06/01 10:31

呵呵

滚动条的默认宽度

屏幕分辨率(宽度)

IE6(滚动条宽度,下同)

IE7

Firefox2

标准

最大化

标准

最大化

标准

最大化

800px

28px

12px

20px

16px

24px

16px

1024px

20px

12px

20px

16px

16px

16px

1280px

20px

12px

20px

16px

16px

16px

1440px

20px

12px

20px

16px

16px

16px

P{  

display: block;  -webkit-margin-before: 1em;  -webkit-margin-after: 1em;  -webkit-margin-start: 0px;  -webkit-margin-end: 0px;
}
<div class="styles-section-title styles-selector" style="box-sizing: border-box; word-wrap: break-word; cursor: text; color: rgb(34, 34, 34); font-family: Consolas, 'Lucida Console', monospace;"><div style="box-sizing: border-box;"><span class="selector" style="box-sizing: border-box; color: rgb(136, 136, 136);"><span class="simple-selector selector-matches" style="box-sizing: border-box; color: rgb(34, 34, 34);">h1</span></span><span style="box-sizing: border-box;"> {</span></div></div><ol tabindex="0" class="style-properties monospace" style="box-sizing: border-box; font-family: Consolas, 'Lucida Console', monospace; margin: 0px; padding: 2px 4px 0px 0px; list-style: none; clear: both; color: rgb(34, 34, 34); white-space: nowrap;"><li style="box-sizing: border-box; margin-left: 0px !important; padding-left: 38px; white-space: normal; text-overflow: ellipsis; overflow: hidden; cursor: auto;"><input class="enabled-button" type="checkbox" style="font-family: inherit; font-size: 10px; visibility: hidden; float: left; margin: 0px; vertical-align: top; position: relative; z-index: 1; width: 18px; left: -40px; top: 1px;" /><span class="styles-clipboard-only" style="box-sizing: border-box; display: inline-block; width: 0px; opacity: 0; pointer-events: none; white-space: pre;">  </span><span title="display: block;" style="box-sizing: border-box; color: rgb(200, 0, 0); margin-left: -38px;">display</span>: <span class="expand-element" style="box-sizing: border-box;"></span><span class="value" style="box-sizing: border-box;">block</span>;</li><li style="box-sizing: border-box; margin-left: 0px !important; padding-left: 38px; white-space: normal; text-overflow: ellipsis; overflow: hidden; cursor: auto;"><input class="enabled-button" type="checkbox" style="font-family: inherit; font-size: 10px; visibility: hidden; float: left; margin: 0px; vertical-align: top; position: relative; z-index: 1; width: 18px; left: -40px; top: 1px;" /><span class="styles-clipboard-only" style="box-sizing: border-box; display: inline-block; width: 0px; opacity: 0; pointer-events: none; white-space: pre;">  </span><span title="font-size: 2em;" style="box-sizing: border-box; color: rgb(200, 0, 0); margin-left: -38px;">font-size</span>: <span class="expand-element" style="box-sizing: border-box;"></span><span class="value" style="box-sizing: border-box;">2em</span>;</li><li style="box-sizing: border-box; margin-left: 0px !important; padding-left: 38px; white-space: normal; text-overflow: ellipsis; overflow: hidden; cursor: auto;"><input class="enabled-button" type="checkbox" style="font-family: inherit; font-size: 10px; visibility: hidden; float: left; margin: 0px; vertical-align: top; position: relative; z-index: 1; width: 18px; left: -40px; top: 1px;" /><span class="styles-clipboard-only" style="box-sizing: border-box; display: inline-block; width: 0px; opacity: 0; pointer-events: none; white-space: pre;">  </span><span title="-webkit-margin-before: 0.67em;" style="box-sizing: border-box; color: rgb(200, 0, 0); margin-left: -38px;">-webkit-margin-before</span>: <span class="expand-element" style="box-sizing: border-box;"></span><span class="value" style="box-sizing: border-box;">0.67em</span>;</li><li style="box-sizing: border-box; margin-left: 0px !important; padding-left: 38px; white-space: normal; text-overflow: ellipsis; overflow: hidden; cursor: auto;"><input class="enabled-button" type="checkbox" style="font-family: inherit; font-size: 10px; visibility: hidden; float: left; margin: 0px; vertical-align: top; position: relative; z-index: 1; width: 18px; left: -40px; top: 1px;" /><span class="styles-clipboard-only" style="box-sizing: border-box; display: inline-block; width: 0px; opacity: 0; pointer-events: none; white-space: pre;">  </span><span title="-webkit-margin-after: 0.67em;" style="box-sizing: border-box; color: rgb(200, 0, 0); margin-left: -38px;">-webkit-margin-after</span>: <span class="expand-element" style="box-sizing: border-box;"></span><span class="value" style="box-sizing: border-box;">0.67em</span>;</li><li style="box-sizing: border-box; margin-left: 0px !important; padding-left: 38px; white-space: normal; text-overflow: ellipsis; overflow: hidden; cursor: auto;"><input class="enabled-button" type="checkbox" style="font-family: inherit; font-size: 10px; visibility: hidden; float: left; margin: 0px; vertical-align: top; position: relative; z-index: 1; width: 18px; left: -40px; top: 1px;" /><span class="styles-clipboard-only" style="box-sizing: border-box; display: inline-block; width: 0px; opacity: 0; pointer-events: none; white-space: pre;">  </span><span title="-webkit-margin-start: 0px;" style="box-sizing: border-box; color: rgb(200, 0, 0); margin-left: -38px;">-webkit-margin-start</span>: <span class="expand-element" style="box-sizing: border-box;"></span><span class="value" style="box-sizing: border-box;">0px</span>;</li><li style="box-sizing: border-box; margin-left: 0px !important; padding-left: 38px; white-space: normal; text-overflow: ellipsis; overflow: hidden; cursor: auto;"><input class="enabled-button" type="checkbox" style="font-family: inherit; font-size: 10px; visibility: hidden; float: left; margin: 0px; vertical-align: top; position: relative; z-index: 1; width: 18px; left: -40px; top: 1px;" /><span class="styles-clipboard-only" style="box-sizing: border-box; display: inline-block; width: 0px; opacity: 0; pointer-events: none; white-space: pre;">  </span><span title="-webkit-margin-end: 0px;" style="box-sizing: border-box; color: rgb(200, 0, 0); margin-left: -38px;">-webkit-margin-end</span>: <span class="expand-element" style="box-sizing: border-box;"></span><span class="value" style="box-sizing: border-box;">0px</span>;</li><li style="box-sizing: border-box; margin-left: 0px !important; padding-left: 38px; white-space: normal; text-overflow: ellipsis; overflow: hidden; cursor: auto;"><input class="enabled-button" type="checkbox" style="font-family: inherit; font-size: 10px; visibility: hidden; float: left; margin: 0px; vertical-align: top; position: relative; z-index: 1; width: 18px; left: -40px; top: 1px;" /><span class="styles-clipboard-only" style="box-sizing: border-box; display: inline-block; width: 0px; opacity: 0; pointer-events: none; white-space: pre;">  </span><span title="font-weight: bold;" style="box-sizing: border-box; color: rgb(200, 0, 0); margin-left: -38px;">font-weight</span>: <span class="expand-element" style="box-sizing: border-box;"></span><span class="value" style="box-sizing: border-box;">bold</span>;</li></ol><div style="box-sizing: border-box; color: rgb(34, 34, 34); font-family: Consolas, 'Lucida Console', monospace; white-space: nowrap;">}</div>

0 0
原创粉丝点击