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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:25:13+00:00 2026-05-16T14:25:13+00:00

Here’s an odd rendering difference between IE and other browsers. Internet Explorer 8 Firefox

  • 0

Here’s an odd rendering difference between IE and other browsers.

Internet Explorer 8

IE8

Firefox 3.5

FF3.5

Chrome 5

Chrome 5

See the difference? That vertical line suddenly stops in IE8. That’s because IE8 refuses to display a certain background image. Here’s a relevant snippet of CSS code:

td#leftbar {
    background: url(img/leftbar.gif) repeat-y right top;
    width: 100px;
}

You can get additional information by viewing the website on your own computer here: http://labs.pieterdedecker.be/vspwpg/

  • 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-16T14:25:14+00:00Added an answer on May 16, 2026 at 2:25 pm

    I’ll second Pekka’s comment about avoiding tables for layouts, but since proposing serious structural changes would be a bit extreme, the following CSS seem to work well enough to fix the problem:

    TABLE#body {
      background:url(img/leftbar.gif) repeat-y 94px top;
      border-collapse:collapse;
      width:100%;
    }
    
    TD#leftbar {
      width:100px;
    }
    
    TD#leftbarbottom {
      background:#FFFFFF url(img/leftbarbottom.gif) no-repeat right top;
      height:100px;
    }
    

    As far as why there is a difference between IE and Firefox/Chrome, the only potentially relevant piece of information that I could find right now was the CSS 2.1 section on table height, which states:

    CSS 2.1 does not specify how cells
    that span more than one row affect row
    height calculations except that the
    sum of the row heights involved must
    be great enough to encompass the cell
    spanning the rows.

    So, not only is IE’s behaviour bizarre, there’s doesn’t seem to be a clear cut explanation of what should happen. In IE’s case, space required by the multi-row cells appears to be divided up using some sort of relative percentages related to the minimum height of each included row.

    To illustrate this, you can cause #leftbar to take up all the space it’s leaving empty now by using the following rules:

    TD#leftbartop {
      height:1px;
    }
    
    TD#leftbar {
      height:150px;
    }
    

    Another interesting example is a 1/3, 2/3 split:

    TD#leftbartop {
      height:33px;
    }
    
    TD#leftbar {
      height:66px;
    }
    

    Note that if you set the height to something unreasonably small (like 1px in the earlier example), it calculates a height for that cell that is not based on the relative percentage, but something else. I’m not sure where that comes from right now, but I’ll play around with the numbers and see if I can take a guess at it later on.

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

Sidebar

Ask A Question

Stats

  • Questions 506k
  • Answers 506k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer As has already been mentioned, it's not a great idea… May 16, 2026 at 3:39 pm
  • Editorial Team
    Editorial Team added an answer Instead of having the threads perform different actions on the… May 16, 2026 at 3:39 pm
  • Editorial Team
    Editorial Team added an answer You're probably running out of stack space. At NMAX=500, the… May 16, 2026 at 3:39 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Here's a basic regex technique that I've never managed to remember. Let's say I'm
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm looking for suggestions for debugging... If you view this site in Firefox or
Here's what I'm trying do to in a single SQL Server procedure: @ID1 int
Here is a link my example of the misaligned table rows Click preview in
Here’s a problem I’ve really been struggling with. I need to merge two sorted
Here's an excerpt from java.text.CharacterIterator documentation: This interface defines a protocol for bidirectional iteration
Here is a snippet of my form <form action= method=post onsubmit=return verify()> <input type=submit
Here, i have coded to get data from DB. I want to store 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.