Hi,
I am listing 6 images. When the user mouses over the image, it disappears and text shows up in its place.
Here's how I do it.
1. Two tables wrapped in div tags.
2. First div tag is visible (the images).
3. Second div tag is hidden (the text shows up).
4. Using javascript to change visibility attribute based on mouseover and mouseout events.
Problem: The div tags mouse in and out correctly. However, the invisible div tag (item #3) is taking up real estate on the page even though it is invisible.
I have set the style for the invisible div tag to:
Not helping though.
Any ideas?
I am listing 6 images. When the user mouses over the image, it disappears and text shows up in its place.
Here's how I do it.
1. Two tables wrapped in div tags.
2. First div tag is visible (the images).
3. Second div tag is hidden (the text shows up).
4. Using javascript to change visibility attribute based on mouseover and mouseout events.
Problem: The div tags mouse in and out correctly. However, the invisible div tag (item #3) is taking up real estate on the page even though it is invisible.
I have set the style for the invisible div tag to:
Code:
.rentalinfooff
{
visibility: hidden;
position: relative;
top: -150px;
}\
Not helping though.
Any ideas?