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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:55:34+00:00 2026-06-03T11:55:34+00:00

Possible Duplicate: Can we solve the table row background image problem, in chrome, in

  • 0

Possible Duplicate:
Can we solve the table row background image problem, in chrome, in multi celled tables?

I’m trying to have one image as the background for the first row. The problem is that the background gets applied to each cell separately, not as a whole. Is there a way around it?

http://jsfiddle.net/bumpy009/c3txj/

Result should look something like this:

enter image description here

EDIT: The problem appears only in Safari, Opera and chrome. Didn’t check IE yet.

  • 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-03T11:55:49+00:00Added an answer on June 3, 2026 at 11:55 am

    If you want it across each row, why not make it the table background instead and repeat it in the y-axis?

    table {
        width: 300px;
        background-image: url('mypic.jpg');
        background-repeat: repeat-y;
    }
    

    BTW I tested your code with IE9, FF12 – those are showing the image once per row. But Chrome 15 & Safari 5 is repeating it for each td.

    Edit

    Since you only wanted it in the first-row, you should use background-position to make sure the image stays at the top of the table (that’s usually where the first row is, right? :P)

    table {
        width: 300px;
        background-image: url('mypic.png');
        background-repeat: no-repeat;
        background-position: center top;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem that I can't seem to solve. What I am trying
Possible Duplicate: Can JavaScript connect with MySQL? I have a database with names and
Possible Duplicate: Can Read-Only Properties be Implemented in Pure JavaScript? I have an Object
Possible Duplicate: Can anybody suggest the best image resize script in php? I'm still
Possible Duplicate: Was: Not unique table :: Now: #1054 - Unknown column - can't
Possible Duplicate: Problem installing my Android apps Any body can tell me how can
Possible Duplicate: Undefined Symbol ___gxx_personality_v0 on link I have a problem with the following
Possible Duplicate: Can't pass mysqli connection in session in php Many of us have
Possible Duplicate: jQuery & Prototype Conflict I think I have a problem between jQuery
Possible Duplicate: Can’t operator == be applied to generic types in C#? I've got

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.