Fonts display differently in FF and IE

This is a discussion on "Fonts display differently in FF and IE" within the Web Page Design section. This forum, and the thread "Fonts display differently in FF and IE are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 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?

Reply With Quote

  #2 (permalink)  
Old Dec 28th, 2005, 13:28
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: Fonts display differently in FF and IE

I have ran into this problem before. What I would recommend doing first is changing your font-sizes to em's. 1em = 100%. This I feel is a cleaner way to control font sizes. Secondly make sure that your FF and IE both have the same default text size. As em's and %'s both work off the users default. So if they are not the same then the text will never look the same out of the gate. Have a look and let us know.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Reply With Quote
  #3 (permalink)  
Old Dec 31st, 2005, 12:17
New Member
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fonts display differently in FF and IE

Many thanks DS, that's a hell of a lot better.
Reply With Quote
  #4 (permalink)  
Old Dec 31st, 2005, 15:11
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Fonts display differently in FF and IE

hi and welcome to the forums!

as an off topic post, i must say i like your site
Reply With Quote
  #5 (permalink)  
Old Jan 2nd, 2006, 12:52
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: Fonts display differently in FF and IE

np... Glad it helped you as it does me.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Reply With Quote
Reply

Tags
fonts, display, differently

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
fonts... jtyoungs Graphics and 3D 7 Jan 30th, 2008 09:33
[SOLVED] How do the symbols * . and # apply to IDs differently? Inkers Web Page Design 8 Nov 14th, 2007 03:58
designed a website in CSS but displays differently in other browsers skyfire400 Web Page Design 8 Jan 25th, 2006 11:53
Simple HTML displayed differently between browsers RichRadio2005 Web Page Design 0 Nov 29th, 2005 14:04
Fonts Jdinh04 Web Page Design 6 Apr 30th, 2005 13:17


All times are GMT. The time now is 21:24.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43