html连接错误,HTML来源的Firefox错误信息(无法建立此连接错误显示)

安装firebug,然后在错误页面上按下HTML选项卡。

Server not found

Firefox can't find the server at www.bbc.co;uk.

  • Check the address for typing errors such as

    ww.example.com instead of

    www.example.com

  • If you are unable to load any pages, check your computer's network

    connection.

  • If your computer or network is protected by a firewall or proxy, make sure

    that Firefox is permitted to access the Web.

Try Again

对于CSS,它似乎使用:chrome://global/skin/netError.css

/*

* This defines the look-and-feel styling of the error pages.

* (see: netError.xhtml)

*

* Original styling by William Price

* Updated by: Steven Garrity

* Henrik Skupin

*/

html {

background: -moz-Dialog;

}

body {

margin: 0;

padding: 0 1em;

color: -moz-FieldText;

font: message-box;

}

h1 {

margin: 0 0 .6em 0;

border-bottom: 1px solid ThreeDLightShadow;

font-size: 160%;

}

ul, ol {

margin: 0;

-moz-margin-start: 1.5em;

padding: 0;

}

ul > li, ol > li {

margin-bottom: .5em;

}

ul {

list-style: square;

}

#errorPageContainer {

position: relative;

min-width: 13em;

max-width: 52em;

margin: 4em auto;

border: 1px solid ThreeDShadow;

border-radius: 10px;

padding: 3em;

-moz-padding-start: 30px;

background: url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat -moz-Field;

background-origin: content-box;

}

#errorPageContainer.certerror {

background-image: url("chrome://global/skin/icons/sslWarning.png");

}

body[dir="rtl"] #errorPageContainer {

background-position: right 0;

}

#errorTitle {

-moz-margin-start: 80px;

}

#errorLongContent {

-moz-margin-start: 80px;

}

#errorShortDesc > p {

overflow: auto;

border-bottom: 1px solid ThreeDLightShadow;

padding-bottom: 1em;

font-size: 130%;

white-space: pre-wrap;

}

#errorLongDesc {

-moz-padding-end: 3em;

font-size: 110%;

}

#errorLongDesc > p {

}

#errorTryAgain {

margin-top: 2em;

-moz-margin-start: 80px;

}

#brand {

position: absolute;

right: 0;

bottom: -1.5em;

-moz-margin-end: 10px;

opacity: .4;

}

body[dir="rtl"] #brand {

right: auto;

left: 0;

}

#brand > p {

margin: 0;

}

#errorContainer {

display: none;

}

#securityOverrideDiv {

padding-top: 10px;

}

#securityOverrideContent {

background-color: #FFF090; /* Pale yellow */

padding: 10px;

border-radius: 10px;

}

/* Custom styling for 'blacklist' error class */

:root.blacklist #errorTitle, :root.blacklist #errorLongContent,

:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc,

:root.blacklist a {

background-color: #722; /* Dark red */

color: white;

}

:root.blacklist #errorPageContainer {

background-image: url("chrome://global/skin/icons/blacklist_64.png");

background-color: #722;

}

:root.blacklist {

background: #333;

}

:root.blacklist #errorTryAgain {

display: none;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值