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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:53:41+00:00 2026-06-15T11:53:41+00:00

I have a table with some tabular data: When I hover with the mouse

  • 0

I have a table with some tabular data:

enter image description here

When I hover with the mouse over the row it displays me a magnifier glass next to the name.

enter image description here

The problem with this approach is that the content (Anderson) moves to right and therefore the neighbouring td (First Name) also gets pushed to the right side. It is annoying since everything starts dancing to the right and then left when hovering over the rows.

<td><i id="glass" class="icon-search icon-large"></i>Anderson</td>
<td>Michael</td>

.cb_table-hover tbody tr .icon-search{
    display: none;
}    

.cb_table-hover tbody tr:hover .icon-search{
    display: inline-block;
}

I tried to position the icon to the left, but it doesn’t help the situation:

#glass{
    position:relative;
    left: -10px;
}

I could always introduce just a td for the icon to secure its fixed position in the table, but I wonder if there is a better way of doing this. Thanks

  • 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-15T11:53:42+00:00Added an answer on June 15, 2026 at 11:53 am

    Change CSS property with this:

    .cb_table-hover tbody tr .icon-search{
        visibility: hidden;
    }
    
    .cb_table-hover tbody tr:hover .icon-search{
        visibility: visible;
    }
    

    Visibility property hides the element, but does not hide the space it occupies.

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

Sidebar

Related Questions

I have a table in html with some tabular data. The thing is that
I have a table with some tabular data in it. Currently I am using
Given I have table with some data... I have a query which is used
I have some table structure: <tr class=row-2><tr> <tr class=row-3>..<tr> <tr class=row-4>..<tr> <tr class=row-5>..<tr> <tr
I have an Excel table with some data that I would like to export
I have a web-site that generates some simple tabular data as html tables, many
I have one table with some data. After some event I want to highlight
I have to display some tabular data where there is a maximum of 3
I have table displaying some data from a table in a ctp file. I
I have a database table that contains Swedish/Norwegian strings. When I query some data,

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.