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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:00:17+00:00 2026-05-26T00:00:17+00:00

I have a link that I’ve styled with an icon and a border to

  • 0

I have a link that I’ve styled with an icon and a border to look like a button. It’s working fine in all browsers except IE7. The bordered <a> tag is expanding to fill the width of its parent — it’s acting like a block. If I remove the icon, the <b> tag, it’s fine.

Notes: Both <a> and <b> have display: inline-block, which should be supported in Exploder 7 since they’re naturally inline elements. I tried giving them the standard fix (zoom: 1, display: inline;) in my ie7 stylesheet anyways. No luck.
I’ve tried every zoom, position, and display combination I can think of; I’ve looked through all kinds of posts; any help is MUCH appreciated!

Here’s the jsfiddle: http://jsfiddle.net/aF894/

  • 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-26T00:00:18+00:00Added an answer on May 26, 2026 at 12:00 am

    Removing the text-index: -9999px; will get it to work.

    IE7 had some oddities with the margins that you’ll need to account for to get it to display in IE7 like the other browsers. However that should be handled in a separate style sheet which it looks like you have.

    Will still work in other browsers.

    http://jsfiddle.net/aF894/8/

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

Sidebar

Related Questions

I have a link that is somewhat like this: <a href=------.html#video>Text</a> It works fine
I have a link that looks like a button and it looks ok in
I have a link that looks like a button from this html <p class=link-styleContact><a
I have a link that I dynamically create which looks something like the following:
I have a link that looks like this: <a href=# onclick=new Ajax.Request('/data_entry/ajax_add_term/131?contract_id=227', {asynchronous:true, evalScripts:true});
I have a link that I would like to present with a confirmation. I
I have a link that says remove I have hidden the like by <
I have a link that looks like this: <a href=/site/cdb/index.php?adinfo=272>Company Inc.</a> I want to
I currently have a link that launches a telnet link like this <h:outputLink value=telnet://1.2.3.4>
I have a link that, when clicked, I would like it to move the

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.