
Dec 27th, 2005, 19:18
|
|
New Member
|
|
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Fonts display differently in FF and IE
Hello everybody, first post.
I'm using the Nifty Corners technique on a website I'm putting together. However, there's a big variation on how the fonts are displayed in Firefox and IE. I would like the website to look universally as close as possible to how it appears in Firefox.
The website address is here
Here's the CSS:
- Code: Select all
html,body{margin:0;padding:0;background: #3298FF}
body{font:72% Geneva, Arial, Helvetica, sans-serif;color: #333;text-align:center;padding: 20px}
h1,h2,h3{padding-left: 15px;margin: 0}
h2{font-size: 160%;color: #3399FF}
h3{font-size: 100%;background: #99CCFF;text-align: center;color: #FFF}
p{margin: 0;padding: 0 15px 0.7em;line-height: 1.4}
a {text-decoration: none}
a:link {color: #3366CC}
a:visited {color: #3366CC}
a:hover {text-decoration: underline}
li{margin: 0;padding: 0 40px 0.7em;line-height: 1.0}
address{font-style: normal}
div.gradient{background: #F2F2F2 url(gradient.png) repeat-x top;margin: 15px}
div.gradient p{margin:0;padding: 2px 5px}
p.codehere{color: #2A4D91}
div#container{width:735px;margin: 0 auto;background-color: #FFFFFF;text-align: justify}
div#header{background-color: #3399FF;padding:10px 0}
div#header h1{color: #FFF;font-size: 300%;font-weight: 900}
div#menu{width:100%;overflow:auto;background: #3399FF;padding-top: 5px}
ul#nav,ul#nav li{list-style-type:none;margin:0;padding:0}
ul#nav{padding-left:15px}
ul#nav li{float:left;width:80px;margin-right:2px;text-align: center}
ul#nav a{float:left;width:80px;text-decoration:none;background: #F2F2F2 url(gradient.png) repeat-x top;color: #333366}
ul#nav li.active a{color: #000;background: #66CCFF}
ul#nav a:hover{color: #000}
div#content{clear:left;width:735px;border-top:5px solid #66CCFF;padding-top:15px;background-color: #FFFFFF}
div#footer{padding-top:5px;text-align: center;font-size: 90%;background: #99CCFF;color: #333366}
div.news{float:right;display:inline;width: 200px;margin: 5px 15px 15px 5px;background:#E4E7F2}
div.news p{padding:5px 8px}
div#minipics{float:left;width:100%;padding-bottom:10px}
div#minipics ul{list-style-type: none;margin:0 15px;padding:0}
div#minipics li{float:left;width:100px;margin: 10px 10px 10px 0;background-color: #FFF}
div#font-family li img{display: block;width: 80px;height: 80px;margin:5px 10px;border: 0px}
form{width:450px;background-color: #BBD8FF;margin: 15px}
fieldset{border: 0px solid #000}
legend{font: bold 140%/1.6 Arial,sans-serif;color: #27518A}
fieldset label{float:left;display:inline;width:100px;
line-height:16px;margin: 3px 10px;text-align:center;background: #FFF url("arrow.jpg") no-repeat right center}
input,textarea{margin:3px 0 8px;border-style:solid;border-color: #778AA2 #7EA4D8 #7EA4D8 #778AA2;
border-width:2px 1px 1px 2px;width: 300px}
input{height: 18px}
br{clear:left}
input#go{margin: 10px 0 0 130px;border-style:solid;border-color: #FFF #333 #333 #FFF;border-width:1px 2px 2px 1px;background: #CCC;width:auto;height: auto}
Can anyone point me in the right direction?
|