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 7802115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:09:50+00:00 2026-06-02T01:09:50+00:00

I have a span tag floated to the left which for some reason moves

  • 0

I have a span tag floated to the left which for some reason moves up above the rest of the paragraph text and is actually cut off in ie8 and ie7. The text shows fine in ie9, but is shown above the rest of the text within the paragraph. The CSS for the span tag is:

.stat {
  font: 64px/100% @numbersFont;
  letter-spacing: -3px;
  color: @orange;
  float: left;
  margin: 0 15px 5px 0;
}

The html is:

<p>
  <span class="stat">10x</span>
One&nbsp;<a title="Fidelity® Charitable Gift Fund Volunteerism and Charitable Giving in 2009" href="http://www.fidelitycharitable.org/docs/Volunteerism-Charitable-Giving-2009-Executive-Summary.pdf" target="_blank">study on volunteerism</a>&nbsp;found “on average, those who have volunteered in the last 12 months donate ten times more money to charities than non-volunteers.”
</p>

Any thoughts on what would be causing the text to bump up like that?

  • 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-06-02T01:09:51+00:00Added an answer on June 2, 2026 at 1:09 am

    It turns out the problem had to do with the font. For some reason when you load the “Bebas” font using @font-family both IE and Firefox don’t understand the real height of the font. I fixed this by using css to target Firefox and IE specifically. Not ideal, but it fixed the problem.

    Here is how I targeted IE and Firefox. HTML:

    <!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 7]>    <html class="lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 8]>    <html class="lt-ie9" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 9]>    <html class="ie9" <?php language_attributes(); ?>> <![endif]-->
    <!--[if gt IE 9]><!--> <html class="" <?php language_attributes(); ?>> <!--<![endif]-->
    

    CSS:

    @-moz-document url-prefix() {
      .stat {
         padding-top: 12px;
      }
    }
    
    .lt-ie9 .stat,
    .ie9 .stat {
      line-height: 85px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

a I have some images on page and I want to put <span> tag
I have an input box and I have a span tag that contains some
I have an element that contains two span tags that each contain some text.
I have an Asp.Net button and a span tag which I have image for
So i have a pre tag like so: <pre> Some content, more content. <span>Coloured
I have a span tag inside with there is some html code to create
I have span element <span class=tag onclick=clickTag(this) tagType=property> Which calls the clickTag method function
I have a div and span tag. Something like: <div>Test <span class=link-action><a href=url>Link text</a></span></div>
I have the following HTML, with a span tag which contains an input field
By design I have <a href=#><span><strong>ABOUT US</strong></span></a> There is CSS which does some special

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.