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

  • Home
  • SEARCH
  • 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 5928337
In Process

The Archive Base Latest Questions

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

Here is what I am trying to achieve (not sure if it’s even possible):

  • 0

Here is what I am trying to achieve (not sure if it’s even possible):

Hover the mouse over a td, and in the bottom right corner of that td (perhaps overlapping the cell border), show a small image.

I’m okay with jQuery, so I can handle the hovering, but the CSS kills me. How do I position the image? Would I have the image in every cell, and only show it on hover? Or is there a better way?

I’m on IE7. I appreciate any guidance.

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

    To avoid putting an image into every single td in the page you could also use a background image:

    td{
      background-image: url('/yourImage.png');
      background-position: -2000px -2000px;
    }
    
    td:hover{
      background-position: right bottom;
    }
    

    The reasoning for using the initial offset is that it makes sure that the image is pre-loaded with the page and so there’s no lag during the first mouseover.

    Browser support issues

    I’m not sure how well supported the positioning directions are for different browsers and you may also want to check out this article to make sure that the :hover pseudo class works correctly for your target browsers. IE7+ will support the :hover pseudo class but they need the correct doctype (and a good prevailing wind)
    http://www.bernzilla.com/item.php?id=762

    Using jQuery instead

    If you don’t want to use :hover you can stick to jquery to add and remove a class. The equivalent CSS for that would be:

    td{
      background-image: url('/yourImage.png');
      background-position: -2000px -2000px;
    }
    
    td.hoverclass{
      background-position: right bottom;
    }
    

    where “.hoverclass” is the classname that you add to the td during the mouseover period.

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

Sidebar

Related Questions

I'm trying to achieve something that Im not sure how to do it. I'm
Here's what I'm trying to achieve: Before: www.example.com/index.php?page=about&pg=5 After: www.example.com/about.html?pg=5 The URL must specifically
Here's what I am trying to achieve. I am importing an xml file of
Here's what I'm trying to achieve: open a shell (korn or bash, doesn't matter),
I'm trying to achieve what this guy here is doing, only in PHP or
Here's an example of what i'm trying to achieve. I'm trying to create a
I'm trying to achieve the following though with my intermediate JavaScript skills I'm not
Here is an example of the structure I'm trying to achieve. I'll just setup
I am not sure if this belongs to superuser. Please excuse. Here is what
I'm trying to achieve this mouseover effect with the smallest footprint possible. I can't

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.