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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:55:59+00:00 2026-05-23T18:55:59+00:00

Custom design for <h3> tag… it work nicely on IE8, Firefox and Chrome. But

  • 0

Custom design for <h3> tag… it work nicely on IE8, Firefox and Chrome.

But on IE7, the width (100%) is full which it shouldn’t happen. How to fix this?

Also the font size don’t appear to be the same as IE8, Firefox and Chrome

h3 {
    background-color:white;
    display:inline-block;
    color:black;
    padding-right:10px;
    padding-left:5px;
    padding-top:6px;
    padding-bottom:6px;
    margin-bottom:2px;
 }
  • 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-23T18:56:00+00:00Added an answer on May 23, 2026 at 6:56 pm

    This is what you need:

    h3 {
        display:inline-block;
        *display: inline;
        zoom: 1;
    
        background-color:white;
        color:black;
        padding-right:10px;
        padding-left:5px;
        padding-top:6px;
        padding-bottom:6px;
        margin-bottom:2px;
     }
    

    *display: inline uses a “safe CSS hack” to target only IE7. zoom: 1 provides hasLayout for IE7 and lower, which is required to make this work.

    To fix the font size, specify an explicit font-size. For example font-size: 24px.

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

Sidebar

Related Questions

I'm doing some custom work with Magento, which has a database design based upon
I got the design (PSD) from client. Which should i choose to make custom
I have a WebView which should support zoom. The UI design requires custom zoom
I'm working with wordpress.com along with the custom design upgrade to be able to
I have to design a custom chat control, i planned to use 3 basic
I am making a custom module where users can upload design content. I need
I am creating an App with following design: I have a UITableView with custom
I am working on a Wordpress-Design and i want to creat a Custom Menu.
Custom non-fatal exception derive from which class in asp.net 3.5?
Custom data attributes: http://dev.w3.org/html5/spec/Overview.html#embedding-custom-non-visible-data When I say work, I mean, if I’ve got HTML

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.