亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb

首頁 > 編程 > HTML > 正文

網頁設計參考 firefox 默認樣式

2024-08-26 00:11:14
字體:
來源:轉載
供稿:網友
雖然w3c制訂了html的一些標準:瀏覽器們都會按照自己預定義的樣式來解析渲染網頁中的標簽,firefox可以通過在地址欄里輸入resource://gre/res/html.css的命令來得到firefox的默認樣式表。要是ie也有這個命令該多好!你也可以在不同版本的firefox地址欄輸入這個命令,這樣就可以對比firefox不同版本的差異,這讓我們在Reset CSS的時候有了重要的參考。
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Blake Ross <BlakeR1234@aol.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
/* bidi */
[dir="rtl"] {
direction: rtl;
unicode-bidi: embed;
}
[dir="ltr"] {
direction: ltr;
unicode-bidi: embed;
}
bdo[dir] {
unicode-bidi: bidi-override;
}
/* blocks */
html, div, map, dt, isindex, form {
display: block;
}
body {
display: block;
margin: 8px;
}
p, dl, multicol {
display: block;
margin: 1em 0;
}
dd {
display: block;
-moz-margin-start: 40px;
}
blockquote {
display: block;
margin: 1em 40px;
}
address {
display: block;
font-style: italic;
}
center {
display: block;
text-align: -moz-center;
}
blockquote[type=cite] {
display: block;
margin: 1em 0px;
-moz-padding-start: 1em;
-moz-border-start: solid;
border-color: blue;
border-width: thin;
}
span[_moz_quote=true] {
color: blue;
}
pre[_moz_quote=true] {
color: blue;
}
h1 {
display: block;
font-size: 2em;
font-weight: bold;
margin: .67em 0;
}
h2 {
display: block;
font-size: 1.5em;
font-weight: bold;
margin: .83em 0;
}
h3 {
display: block;
font-size: 1.17em;
font-weight: bold;
margin: 1em 0;
}
h4 {
display: block;
font-weight: bold;
margin: 1.33em 0;
}
h5 {
display: block;
font-size: 0.83em;
font-weight: bold;
margin: 1.67em 0;
}
h6 {
display: block;
font-size: 0.67em;
font-weight: bold;
margin: 2.33em 0;
}
listing {
display: block;
font-family: -moz-fixed;
font-size: medium;
white-space: pre;
margin: 1em 0;
}
xmp, pre, plaintext {
display: block;
font-family: -moz-fixed;
white-space: pre;
margin: 1em 0;
}
/* tables */
table {
display: table;
border-spacing: 2px;
border-collapse: separate;
margin-top: 0;
margin-bottom: 0;
/* XXXldb do we want this if we're border-collapse:collapse ? */
-moz-box-sizing: border-box;
text-indent: 0;
}
table[align="left"] {
float: left;
}
table[align="right"] {
float: right;
text-align: start;
}
table[rules]:not([rules="none"]) {
border-collapse: collapse;
}
/* caption inherits from table not table-outer */
caption {
display: table-caption;
text-align: center;
-moz-box-sizing: border-box;
}
table[align="center"] > caption {
margin-left: auto;
margin-right: auto;
}
table[align="center"] > caption[align="left"] {
margin-right: 0;
}
table[align="center"] > caption[align="right"] {
margin-left: 0;
}
tr {
display: table-row;
vertical-align: inherit;
}
col {
display: table-column;
}
colgroup {
display: table-column-group;
}
tbody {
display: table-row-group;
vertical-align: middle;
}
thead {
display: table-header-group;
vertical-align: middle;
}
tfoot {
display: table-footer-group;
vertical-align: middle;
}
/* for XHTML tables without tbody */
table > tr {
vertical-align: middle;
}
td {
display: table-cell;
vertical-align: inherit;
text-align: inherit;
padding: 1px;
}
th {
display: table-cell;
vertical-align: inherit;
font-weight: bold;
padding: 1px;
}
tr > form:-moz-is-html, tbody > form:-moz-is-html,
thead > form:-moz-is-html, tfoot > form:-moz-is-html,
table > form:-moz-is-html {
/* Important: don't show these forms in HTML */
display: none !important;
}
/* inlines */
q:before {
content: open-quote;
}
q:after {
content: close-quote;
}
b, strong {
font-weight: bolder;
}
i, cite, em, var, dfn {
font-style: italic;
}
tt, code, kbd, samp {
font-family: -moz-fixed;
}
u, ins {
text-decoration: underline;
}
s, strike, del {
text-decoration: line-through;
}
blink {
text-decoration: blink;
}
big {
font-size: larger;
}
small {
font-size: smaller;
}
sub {
vertical-align: sub;
font-size: smaller;
line-height: normal;
}
sup {
vertical-align: super;
font-size: smaller;
line-height: normal;
}
nobr {
white-space: nowrap;
}
/* titles */
abbr[title], acronym[title] {
border-bottom: dotted 1px;
}
/* lists */
ul, menu, dir {
display: block;
list-style-type: disc;
margin: 1em 0;
-moz-padding-start: 40px;
}
ol {
display: block;
list-style-type: decimal;
margin: 1em 0;
-moz-padding-start: 40px;
}
li {
display: list-item;
}
/* nested lists have no top/bottom margins */
ul ul, ul ol, ul dir, ul menu, ul dl,
ol ul, ol ol, ol dir, ol menu, ol dl,
dir ul, dir ol, dir dir, dir menu, dir dl,
menu ul, menu ol, menu dir, menu menu, menu dl,
dl ul, dl ol, dl dir, dl menu, dl dl {
margin-top: 0;
margin-bottom: 0;
}
/* 2 deep unordered lists use a circle */
ol ul, ul ul, menu ul, dir ul,
ol menu, ul menu, menu menu, dir menu,
ol dir, ul dir, menu dir, dir dir {
list-style-type: circle;
}
/* 3 deep (or more) unordered lists use a square */
ol ol ul, ol ul ul, ol menu ul, ol dir ul,
ol ol menu, ol ul menu, ol menu menu, ol dir menu,
ol ol dir, ol ul dir, ol menu dir, ol dir dir,
ul ol ul, ul ul ul, ul menu ul, ul dir ul,
ul ol menu, ul ul menu, ul menu menu, ul dir menu,
ul ol dir, ul ul dir, ul menu dir, ul dir dir,
menu ol ul, menu ul ul, menu menu ul, menu dir ul,
menu ol menu, menu ul menu, menu menu menu, menu dir menu,
menu ol dir, menu ul dir, menu menu dir, menu dir dir,
dir ol ul, dir ul ul, dir menu ul, dir dir ul,
dir ol menu, dir ul menu, dir menu menu, dir dir menu,
dir ol dir, dir ul dir, dir menu dir, dir dir dir {
list-style-type: square;
}
/* leafs */
/* <hr> noshade and color attributes are handled completely by
* the nsHTMLHRElement attribute mapping code
*/
hr {
display: block;
height: 2px;
border: 1px inset;
margin: 0.5em auto 0.5em auto;
color: gray;
-moz-float-edge: margin-box;
-moz-box-sizing: border-box;
}
hr[size="1"] {
border-style: solid none none none;
}
*|*:-moz-any-link img, img[usemap], object[usemap] {
border: 2px solid;
}
img:-moz-broken::before, input:-moz-broken::before,
img:-moz-user-disabled::before, input:-moz-user-disabled::before,
img:-moz-loading::before, input:-moz-loading::before,
applet:-moz-empty-except-children-with-localname(param):-moz-broken::before,
applet:-moz-empty-except-children-with-localname(param):-moz-user-disabled::before {
content: -moz-alt-content !important;
unicode-bidi: embed;
}
object:-moz-broken > *|*, applet:-moz-broken > *|*
object:-moz-user-disabled > *|*, applet:-moz-user-disabled > *|* {
/*
Inherit in the object's alignment so that if we aren't aligned explicitly
we'll end up in the right place vertically. See bug 36997. Note that this
is not !important because we _might_ be aligned explicitly.
*/
vertical-align: inherit;
}
img:-moz-suppressed, input:-moz-suppressed, object:-moz-suppressed,
embed:-moz-suppressed, applet:-moz-suppressed {
/*
Set visibility too in case the page changes display. Note that we _may_
want to just set visibility and not display, in general, if we find that
display:none breaks too many layouts. And if we decide we really do want
people to be able to right-click blocked images, etc, we need to set
neither one, and hack the painting code.... :(
*/
display: none !important;
visibility: hidden !important;
}
img[usemap], object[usemap] {
color: blue;
}
frameset {
display: block ! important;
overflow: -moz-hidden-unscrollable;
position: static ! important;
float: none ! important;
border: none ! important;
}
frame {
border: none ! important;
}
iframe {
border: 2px inset;
}
noframes {
display: none;
}
spacer {
position: static ! important;
float: none ! important;
}
canvas {
-moz-user-select: none;
}
/* focusable content: anything w/ tabindex >=0 is focusable */
abbr:focus, acronym:focus, address:focus, applet:focus, b:focus,
base:focus, big:focus, blockquote:focus, br:focus, canvas:focus, caption:focus,
center:focus, cite:focus, code:focus, col:focus, colgroup:focus, dd:focus,
del:focus, dfn:focus, dir:focus, div:focus, dl:focus, dt:focus, em:focus,
fieldset:focus, font:focus, form:focus, h1:focus, h2:focus, h3:focus, h4:focus,
h5:focus, h6:focus, hr:focus, i:focus, img:focus, ins:focus,
kbd:focus, label:focus, legend:focus, li:focus, link:focus, menu:focus,
object:focus, ol:focus, p:focus, pre:focus, q:focus, s:focus, samp:focus,
small:focus, span:focus, strike:focus, strong:focus, sub:focus, sup:focus,
table:focus, tbody:focus, td:focus, tfoot:focus, th:focus, thead:focus,
tr:focus, tt:focus, u:focus, ul:focus, var:focus {
/* Don't specify the outline-color, we should always use initial value. */
outline: 1px dotted;
}
/* hidden elements */
area, base, basefont, head, meta, script, style, title,
noembed, param {
display: none;
}
/* emulation of non-standard HTML <marquee> tag */
marquee {
width: -moz-available;
display: inline-block;
vertical-align: text-bottom;
text-align: start;
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');
}
marquee[direction="up"], marquee[direction="down"] {
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');
height: 200px;
}
/* PRINT ONLY rules follow */
@media print {
marquee { -moz-binding: none; }
/* XXX this should not be necessary, we should be stopping blinking
of any kind in print preview, not just the <blink> element */
blink {
text-decoration: none;
}
}
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb
一本色道久久88精品综合| 日本久久久久久久久久久| 成人免费在线网址| 日韩女优人人人人射在线视频| 亚洲国产天堂网精品网站| 久久亚洲国产精品| 一本色道久久88综合日韩精品| 色妞色视频一区二区三区四区| 欧美激情欧美狂野欧美精品| 午夜精品www| 69视频在线播放| 亚洲欧美一区二区三区四区| 欧美成人激情在线| 狠狠色狠色综合曰曰| 18一19gay欧美视频网站| 成人性生交大片免费观看嘿嘿视频| 国产精品高潮呻吟久久av野狼| 国产伦精品一区二区三区精品视频| 国产精品久久久久久av下载红粉| 欧美尤物巨大精品爽| 久久久女人电视剧免费播放下载| 久久久久久综合网天天| 欧美老少配视频| 国产精品成人一区| 亚洲精品视频久久| 一二美女精品欧洲| 亚洲精品少妇网址| 国产视频自拍一区| 日韩av免费在线看| 久久夜色精品国产| 日韩欧美中文字幕在线播放| 高清欧美电影在线| 国产精品视频专区| 国产精品自拍小视频| 亚洲香蕉伊综合在人在线视看| 中文字幕不卡av| 国产精品大陆在线观看| 国产啪精品视频网站| 国产91精品久久久| 国产欧美日韩精品丝袜高跟鞋| 久久久久久久久久久亚洲| 国产精品99久久久久久久久| 久久99精品视频一区97| 992tv成人免费影院| 伊人一区二区三区久久精品| 日韩精品在线影院| 欧美精品videossex88| 一区二区三区www| 国产精品久久久av| 麻豆精品精华液| 91免费看国产| 亚洲欧美一区二区三区在线| 久久久免费电影| 亚洲欧美另类人妖| 在线观看91久久久久久| 亚洲图片欧美日产| 久久久久久久爱| 亚洲男女自偷自拍图片另类| 成人黄色免费网站在线观看| 亚洲精品国精品久久99热一| 欧美猛交ⅹxxx乱大交视频| 97超级碰碰碰| 欧美精品videosex牲欧美| 欧美—级a级欧美特级ar全黄| 国产视频精品免费播放| 国产人妖伪娘一区91| 国产精品高清在线观看| 日本久久久久久| 国语对白做受69| 欧美成人激情图片网| 久久久综合av| 韩曰欧美视频免费观看| 欧美国产日韩在线| 亚洲最大的av网站| 成人免费视频a| 精品亚洲国产成av人片传媒| 久久视频这里只有精品| 欧美成人免费小视频| 欧美一级视频在线观看| 中文字幕免费精品一区| 亚洲精品电影在线观看| 国产午夜一区二区| 97视频免费在线观看| 国产一区二区黑人欧美xxxx| 欧美中文在线观看| 日韩av在线不卡| 亚洲一区二区三区乱码aⅴ蜜桃女| 亚洲风情亚aⅴ在线发布| 狠狠综合久久av一区二区小说| 97视频在线观看免费高清完整版在线观看| 欧美夫妻性视频| 日本老师69xxx| 亚洲va欧美va国产综合剧情| 欧美壮男野外gaytube| 在线电影欧美日韩一区二区私密| 亚洲区一区二区| 成人网在线观看| 亚洲黄色成人网| 久久久天堂国产精品女人| 午夜精品在线观看| 日韩精品中文字| 蜜月aⅴ免费一区二区三区| 欧美激情一区二区三区久久久| 92福利视频午夜1000合集在线观看| 中文字幕日韩综合av| 亚洲精品国产品国语在线| 北条麻妃一区二区在线观看| 久久香蕉国产线看观看网| 欧美性xxxxx| 日韩欧美第一页| 欧美精品一区二区免费| 亚洲精品国产精品国自产在线| 国产v综合v亚洲欧美久久| 日韩欧美在线视频免费观看| 久久久久国产一区二区三区| 日韩av电影手机在线观看| 亚洲美女又黄又爽在线观看| 精品福利免费观看| 久久在线免费视频| 成人国产亚洲精品a区天堂华泰| 久久久久北条麻妃免费看| 欧洲亚洲在线视频| 日韩成人高清在线| 亚洲精品视频在线播放| 中文字幕精品久久久久| 91精品视频在线免费观看| 久久免费少妇高潮久久精品99| 亚洲色图50p| 91精品视频在线播放| 国产精品99导航| 久久在线视频在线| 欧美亚洲另类制服自拍| 国产精品视频男人的天堂| 欧美在线观看视频| 亚洲人成亚洲人成在线观看| 亚洲精品久久久久久久久| 在线看国产精品| 亚洲国产小视频在线观看| 91色视频在线观看| 国产精品在线看| 538国产精品一区二区免费视频| 欧美一区二区三区免费视| 久久精品视频播放| 91情侣偷在线精品国产| 91网站在线免费观看| 欧美一级黑人aaaaaaa做受| 亚洲免费伊人电影在线观看av| 成人黄色在线播放| 欧美性猛交xxxx免费看漫画| 久久天堂电影网| 亚洲乱码一区av黑人高潮| 国产剧情久久久久久| 亚洲欧美国产高清va在线播| 欧美日韩成人在线播放| 国产精品青草久久久久福利99| 亚洲第一网站免费视频| 久久久亚洲欧洲日产国码aⅴ| 2019国产精品自在线拍国产不卡| 欧美亚洲激情在线| 久久久精品在线| 日韩美女视频免费看| 欧美日韩激情视频8区| 日韩国产一区三区| 韩国欧美亚洲国产|