本文介绍了CSS编码不适用于Firefox/Google,但适用于IE(如图)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
查看网站: www.petalumaadobe.com [ ^ ]在I/E和Google/Firefox上了解我的意思.
请帮忙!我是新手,正在尝试帮助公园.
它说我已经解决了这个问题,但是还没有.该代码适用于I/E,但不适用于任何其他浏览器.我不知道该如何解决.
View website: www.petalumaadobe.com[^] on I/E and on Google/Firefox to see what I mean.
Please help! I am a novice and trying to help out a park.
It says I have solved this issue, but I haven''t. The code works on I/E but not on any other browser. I don''t know how to fix this.
body {background-color:#dfca93; font-family: Verdana, Tahoma, Arial, sans-serif; font-size:1em; color:#453823; margin: 0px 150px 0px 50px;}
h1, h4 {letter-spacing:-1px; }
h1 {font-size:200%; font-family: "Viner Hand ITC", Verdana, Tahoma, Arial, sans-serif; padding-left:115px; padding-top:10px; padding-bottom:45px; background-image:url(images/logo.jpg); background-repeat:no-repeat;
background-position:center left; }
h2 {font-size:140%; text-transform:uppercase; letter-spacing:+2px; color:#333399; background-color:#dfca93; border-bottom: 2px solid #382E1C;}
h3 {font-size:120%; letter-spacing: 1px; }
h4 {font-size:100%; font-style:italic; letter-spacing: +1px;}
p {font-size:90%; line-height:150%; background-color:#dfca93; color:#2C2416; }
p.indent {text-indent:25px;}
p.bold {font-weight: bold; }
p.center {text-align: center;}
.years {text-transform:uppercase; font-weight:bold; font-size: 150%; margin-bottom:10px; padding: 10px; background-color: #FFF8DC; border-color:#453823; border-width: 2px; border-style:solid; }
.next {font-style:normal; font-weight: bold; font-size: 120%; padding: 8px; background-color: #FFF8DC; border-color:#453823; border-width:2px; border-style:solid; }
.date {font-weight: bold; font-size: 120%; line-height: 100%; }
.event {color:#333399; font-size: 120%; }
table {border: solid #453823; margin:10px; border-collapse:collapse;background-color:#C2BA63; text-align:center;}
td, th {border:thin solid #453823; padding:6px; border-spacing:0px; }
th {background-color:#FFF8DC;}
.darkrow {background-color:#C3C3E5;}
caption {padding-bottom:6px; text-align:center;}
#form th {text-align:right; vertical-align:top; font-weight:normal; padding:4px 12px 4px 4px; background-color:#FFF8DC;}
#form td {text-align:left; vertical-align:top; font-weight:bold; padding:4px 4px 4px 12px;}
#address {border-color:#453823;
border-width:2px;
border-style:solid;
padding: 5px;
margin:30px 100px;
text-align:center;
font-family: Verdana, Tahoma, Arial, sans-serif;
font-size:100%; color:#333399; font-weight:bold;
background-color:#FFF8DC; }
a {font-weight:bold; }
a:link {color:#333399; background-color:#dfca93;}
a:visited {color:#443266; background-color:#dfca93;}
a:hover {color:#8C489F; background-color:#dfca93;}
a:active {color:#8C489F; background-color:#dfca93;}
#bar{width:250px; float:left; }
#nav a {border-width: thin; border-style:solid;
font-size: 15px;
background-color: #333399;
text-decoration:none;
text-align: center;
padding:8px;
margin-right: 30px;
margin-bottom: 50px;
margin-top: 50px;
color:#C3C3E5; }
#nav a:link {background-color:#333399; }
#nav a:visited {background-color:#443266;}
#nav a:hover {background-color:#8C489F;}
#content {margin-left:280px; line-height:125%; }
#footer {margin-left:250px; line-height: 100%; }
#content-2 {width:225px; float:right; margin-bottom: 150px; margin-top:50px;}
#content-3 {width:225px; margin-left:300px; margin-bottom: 150px; margin-top: 50px; }
#container {width:780px; margin-left:auto; margin-right:auto;}
推荐答案
这篇关于CSS编码不适用于Firefox/Google,但适用于IE(如图)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!