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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:29:06+00:00 2026-05-29T07:29:06+00:00

I have a table where the cells all have a 1px top-border, except the

  • 0

I have a table where the cells all have a 1px top-border, except the first column, which has a background image to replicate a 1px bottom border (the border fades out to the left). In all browsers (Chrome, Safari, IE6+) the ‘fake border’ lines up with the ‘real border’ – except in Firefox, where the fake border is 1px too low. If I manually move the image 1px up, it disappears altogether.

I imagine that Firefox handle the extra 1px border differently. If there is a cell with a border next to a cell without a border, Firefox seems to leave a space where the border should be, whereas other browsers expand the border-less cell by 1px, so my images can take up that space. (I hope that makes sense!)

Does anyone know of a fix for this?

Working example: http://resonantmind.net/temp/compare.php

  • 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-29T07:29:07+00:00Added an answer on May 29, 2026 at 7:29 am

    1. I tried the -1px as well but I set the height to 50px. Not exactly what you want but seems to be on the right path.

    .compare .item {
        background:#fcfcfc url(bg-compare-item.gif) no-repeat 0 -1px;
        height:50px;
    
        /* original */
        text-align:left; line-height:29px !important; border:0;
    }
    

    2. Another solution is to shift the top line on the image down 1px and completely remove the bottom line. Then have the -1px in the CSS and you’ll get the desired results. Looks good in Chome, IE9, and Firefox.

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

Sidebar

Related Questions

I have an access table which has some cells as blank ( no data
I have given a table background image using css background-image property. The cells are
I have this code in jQuery: children('table').children('tbody').children('tr').children('td') Which gets all table cells for each
If I have a table where the cells in a column should not have
I have a table view and want to allow reordering of all cells, however
I have a table and I use jquery to get all the cells from
I have a table in my page. I use colgroups to format all cells
I have 25 table cells and I want to load all of them together,
I have a table containing cells with text of various lengths. It is essential
I have a table containing cells with phone numbers. How can I allow 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.