Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6031419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:10:52+00:00 2026-05-23T05:10:52+00:00

I have recently coded a website and tested on all browsers as normal to

  • 0

I have recently coded a website and tested on all browsers as normal to ensure consistancy across browsers. I have tested on IE 7, IE 8, Chrome and Firefox 3.6.

However, it has been pointed out to me by a user using Firefox 4, that some parts of the CSS are broken. After looking into it, it looks like the font-size is ever so slightly bigger on Firefox 4 than on any other browser, causing text to be pushed down and breaking some of the layout.

I have managed to workaround most of the problems, but the final outstanding issue is that I have a textbox floated to the left with a span, with smaller text inside, floated to the right of it. The span has a border around it and lines up exactly with the height of the textbox. Because of the font-size difference in Firefox 4, the textbox is appearing deeper than it should, meaning that the span no longer lines up at the bottom.

I have had a look around to see if anyone else has experienced any problems with Firefox 4 displaying text bigger than other browsers, but no luck. Has anyone else had the same problem? I don’t like “workarounds” – I would rather find a decent solution to this problem – I must be doing something strange!

Thanks in advance for your help!

EDIT
Code for body to default all font-sizes:

body 
{
    font-size: 69.5%;
    font-family: Tahoma, Verdana, Sans-Serif;
    margin: 0;
    padding: 0;
    background: #4997C4 url(/Images/main_bg.gif) repeat-x left top;
}

Code for one of the problem areas of text:

.content .banner p.content_text
{
    margin: 5px 0 2px 12px;
    font-size: 1.2em;
    color: #38393C;
    width: 374px;
    line-height: 1.3em;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:10:53+00:00Added an answer on May 23, 2026 at 5:10 am

    You are using relative font-sizes (%, em), so if a user has specified a different default font-size in the browser, the font-size on the page differs. As a solution you could use an absolute font-size, like px. (Same problem with line-height property)

    Another problem could be the graphic hardware acceleration in FF 4 (I had some other problems with this), it has some influence on font rendering.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a website which we recently migrated to ASP.NET MVC. All of the
I have recently started work at a company that has a website. The previous
Have had to write my first proper multithreaded coded recently, and realised just how
I have recently come across a situation where code is dynamically loading some libraries,
I have a VB Web Site project that has recently (and mysteriously) stopped importing
I have a wordpress website, recently I saw too much slow loading index page.
I have recently just designed a website and was forced to call out a
I have recently inherited a website written in Classic ASP, and am currently trying
I have recently set up a website using MODx Revolution. I am attempting to
I have a static html web page for my website and recently was not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.