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

首頁 > 網站 > 網頁設計 > 正文

網頁設計參考:firefox的默認樣式

2024-08-30 08:32:53
字體:
來源:轉載
供稿:網友
雖然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
国产亚洲欧洲黄色| 亚洲精品久久久久久久久久久久| 欧美精品一二区| 国产午夜精品免费一区二区三区| 日韩欧美在线一区| 国产盗摄xxxx视频xxx69| 欧美精品制服第一页| 亚洲欧美另类人妖| 亚洲精品美女免费| 国产精品视频播放| 色妞在线综合亚洲欧美| 97在线看免费观看视频在线观看| 国产精品久久久久高潮| 欧美精品免费在线观看| 97人人做人人爱| 91精品视频播放| 97在线看免费观看视频在线观看| 国产精品日韩一区| 亚洲黄在线观看| 久久视频在线观看免费| 国产精品96久久久久久| 欧美性生活大片免费观看网址| 中文字幕免费精品一区| 尤物yw午夜国产精品视频明星| 日韩av一区二区在线观看| 欧美电影免费观看电视剧大全| 国外成人在线视频| 精品毛片三在线观看| 久久精品国产欧美亚洲人人爽| 国产精品吴梦梦| 高清欧美一区二区三区| 亚洲第一av在线| 久久国产天堂福利天堂| 成人免费淫片视频软件| 欧美日韩人人澡狠狠躁视频| 国产精品久久久久久久久免费| 九九精品在线观看| 亚洲奶大毛多的老太婆| 亚洲成年人在线| 欧美日韩综合视频网址| 国产精品日韩电影| 一区二区三区黄色| 国产成人啪精品视频免费网| 视频直播国产精品| 国产精品自在线| 国产欧美日韩精品丝袜高跟鞋| 久久6免费高清热精品| 成人福利免费观看| 欧美肥臀大乳一区二区免费视频| 91精品国产一区| 91麻豆国产精品| 久久中文字幕在线视频| 在线激情影院一区| 久久亚洲欧美日韩精品专区| 国产亚洲欧美日韩美女| 茄子视频成人在线| 成人做爰www免费看视频网站| 成人久久一区二区三区| 国产精品久久久久久久久久99| 亚洲综合色av| 97精品欧美一区二区三区| 亚洲欧美三级在线| 91国内精品久久| 国产成人avxxxxx在线看| 日韩大胆人体377p| 欧美肥老妇视频| 97精品国产91久久久久久| 国产精品自产拍在线观| 欧美在线视频网| 精品久久久免费| 性金发美女69hd大尺寸| 欧美成人全部免费| 国产99久久精品一区二区永久免费| 久久久精品2019中文字幕神马| 亚洲免费福利视频| 91在线观看欧美日韩| 国产女精品视频网站免费| 亚洲国产精品成人一区二区| 国产精品成av人在线视午夜片| 日本a级片电影一区二区| 91精品综合久久久久久五月天| 欧美午夜片在线免费观看| 亚洲一区二区三区视频| 日日骚av一区| 欧美性一区二区三区| 精品无人区太爽高潮在线播放| 69久久夜色精品国产69| 在线观看欧美日韩| 亚洲一区二区三区香蕉| 日本伊人精品一区二区三区介绍| 亚洲精品欧美极品| 成人中心免费视频| 国产日韩欧美另类| 国产日韩视频在线观看| 久久露脸国产精品| 色琪琪综合男人的天堂aⅴ视频| 亚洲免费小视频| 国产va免费精品高清在线观看| 国产精品久久一| 亚洲色图狂野欧美| 久久久久久久久久亚洲| 成人h视频在线观看播放| 91精品久久久久久久久不口人| 久久婷婷国产麻豆91天堂| 国产精品一区二区在线| 国内精品久久久久影院优| 热久久视久久精品18亚洲精品| 成人写真视频福利网| 在线观看亚洲区| 成人欧美一区二区三区在线| 91成人在线播放| 久久久久久久久国产精品| 亚洲精品久久久久国产| 欧美做爰性生交视频| 国产丝袜精品第一页| 91九色综合久久| 少妇激情综合网| 国产99视频在线观看| 91亚洲精品在线观看| 久久久最新网址| 国产成人精品一区二区| 国产精品一区二区三区免费视频| 最新69国产成人精品视频免费| 欧美精品在线观看91| 欧美大片大片在线播放| 久久久久久91| 欧美日韩加勒比精品一区| 亚洲成人精品视频| 欧美精品18videos性欧| 国内精品久久久久久中文字幕| 欧美另类第一页| 日本人成精品视频在线| 亚洲欧美在线磁力| 国产精品h在线观看| 久久久精品亚洲| 久久久久久久久久久免费精品| 亚洲欧美日韩中文在线制服| 91人人爽人人爽人人精88v| 亚洲片在线观看| 欧美亚洲国产日韩2020| 欧美成人免费一级人片100| 中文字幕日韩欧美精品在线观看| 81精品国产乱码久久久久久| 国产精品永久免费视频| 亚洲free性xxxx护士hd| 国产性猛交xxxx免费看久久| 性金发美女69hd大尺寸| 亚洲人成在线观看| 日韩中文字幕精品视频| 69av在线视频| 国产欧美日韩免费看aⅴ视频| 在线视频欧美日韩精品| 欧美又大又粗又长| 狠狠躁18三区二区一区| 欧美日韩精品中文字幕| 精品无码久久久久久国产| 亚洲人成免费电影| 亚洲女人初尝黑人巨大| 中文字幕亚洲欧美日韩在线不卡| 久久亚洲精品成人| 日本不卡免费高清视频| 欧美性极品xxxx做受| 91在线无精精品一区二区| 精品av在线播放|