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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:42:10+00:00 2026-06-01T11:42:10+00:00

Before I explain, here’s the example HTML code : [ Demo on jsFiddle here.

  • 0

Before I explain, here’s the example HTML code:

[Demo on jsFiddle here.]

<div class="righty">
    <p id="breadcrumbs">
        <a href="http://example.com">Nerd Archive</a> » <a href="http://example.com/how-to/">Coding</a>
    </p>
</div>​

And CSS:

#breadcrumbs {
  font-size: 11px;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 600px;
  background: #D9ECFF;
  padding: 1px 3px;
}

The max-width property seems to be quite compatible with IE7, but the background of the element (a breadcrumb in this case) which should fill the width of the element’s content, is extending to full-width in IE7. Here’s go screenshots for comparison:

Element in IE7:

max-width element in IE7

Element in Modern browsers, in latest version of Chrome for example:

max-width element in modern browsers

Is there a way to fix this? Hope I am clear enough. Thanks!

  • 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-01T11:42:11+00:00Added an answer on June 1, 2026 at 11:42 am

    The only problem is that IE7 does not understand display: inline-block on elements that are not naturally inline, such as p. You can make it work using this:

    display: inline-block;
    *display: inline;
    zoom: 1;
    

    http://jsfiddle.net/thirtydot/s4DGB/4/

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

Sidebar

Related Questions

Before any one suggests HTML, I explain later why thats not an option here.
Here is the code for my specs and class: describe Game do before(:each) do
EDIT: You can see the search box live here . Before I explain, let
Here is an example to explain what I'm on about: c = Decimal(10) /
Possible Duplicate: Can someone Explain this jQuery code? I have posted this before, but
I have one problem that I can't explain. Here is the code in main
Before you start laughing at such a simple question let me explain: I am
I'll explain a little before asking my question ... I've created numerous games which
Before you all get pissy about me posting this question again, let me explain
I tried to ask this question before but I guess I didnt explain myself

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.