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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:41:30+00:00 2026-06-05T12:41:30+00:00

I am facing a strange issue. I have a web application(developed in struts) and

  • 0

I am facing a strange issue. I have a web application(developed in struts) and have 2 web pages, which are showing data in tabular format.

In the table, the header row has a background image so that the header would be distinguishable.

Now the issue is that the background image shows up in page A but does not show up in page B.

Some inputs :

1) The background is handled by CSS and same CSS class is used in both pages. Here is the class :

#reportArea table tr.tr-row-7 {
  background: url(../images/red-bg.png) repeat !important;
  position: relative;
  z-index: 100;
  height: 36px;
  width: 100%;

}

2) I have checked with firebug Net monitor and found that red-bg.png is successfully loaded on both the page with HTTP code 200 OK

3) The data is loaded by an ajax function.

4) The class name tr-row-7 has given to row dynamically using jQuery. The function is something like this

$(document).ajaxComplete(function(){
  $("#reportArea table tr", this).each(function(i){$(this).addClass("tr-row-" + i);});
});

Both the pages using the same jQuery (ajaxComplete()) for row class assignment. Still page B is not able to show image in the background

Any ideas?

  • 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-05T12:41:32+00:00Added an answer on June 5, 2026 at 12:41 pm

    Finally got this working. Actually, it was CSS/jQuery combined issue, from the long list of operations, jQuery was adding few parents to this table and that was causing the issue.

    Due to this, the position of the image was disturbed and was displayed in out of page area.

    Thank you all for your answers/comments, they got me working!

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

Sidebar

Related Questions

I am facing a strange issue with apache MINA. I have server application which
I am facing a strange issue of different behavior of a same web application
I am facing an strange issue. I developed java web app in java 6
I am facing strange issue. I have wep-part that reads data from user's profile.
I am facing a very strange issue. I have a SharePoint webpart that displays
I'm facing a rather strange Issue when trying to load data from an XML-Webservice.
I'm facing kind of a strange issue which is related MD5-Hashes in Java and
I am facing strange problem. I am compiling a MFC application(VS 2008) which uses
we are facing a strange issue. we have a (custom)file upload control in our
I seem to be facing a strange issue in SQL 2008. I have a

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.