473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Further to: css-only image popup when hover image link: is it possible?

A few days ago, Jim answered (THANK YOU, Jim) my question about how to
make an image pop up when an image link is hovered. That discussion is
here:

http://groups.google.com/group/comp....b2599e189fce58

Jim's stylesheet made everything work beautifully in FF; and in IE,
too. But when I changed his stylesheet to display thumbnails
horizontally rather than vertically (change display:block to
display:inline), things didn't go so well in IE (still works perfectly
in FF). Under IE, each thumbnail is displaced left by 4 or 5 px when
it's hovered. The problem shows up innocently (the rest of the site has
ADULT content) here:

http://www.simple-nude.com/demo.html

I've tried to change padding and border-width, but neither has any
effect.

Can someone tell me why the four thumbs are displaced left when I hover
them, please? Some evidence might be seen in the bogus
underline-looking graphic at the right-bottom of each thumb.

Thanks and thanks again.

-- fredo

Nov 29 '06 #1
6 5830
Nik
fredo wrote:
>
http://www.simple-nude.com/demo.html

I've tried to change padding and border-width, but neither has any
effect.

Can someone tell me why the four thumbs are displaced left when I hover
them, please? Some evidence might be seen in the bogus
underline-looking graphic at the right-bottom of each thumb.
The problem disappears (IE6) when I remove the lne
div#links a:hover {border:0px black dashed;}
from your CSS. I can't offer any insight as to why this might be.

Nik
Nov 29 '06 #2
Nik
Nik wrote:
fredo wrote:
>>
http://www.simple-nude.com/demo.html

I've tried to change padding and border-width, but neither has any
effect.

Can someone tell me why the four thumbs are displaced left when I hover
them, please? Some evidence might be seen in the bogus
underline-looking graphic at the right-bottom of each thumb.

The problem disappears (IE6) when I remove the lne
div#links a:hover {border:0px black dashed;}
from your CSS. I can't offer any insight as to why this might be.

Nik
The underline effect can be cleared by adding text-decoration:none to
div#links a{}.

Nik
Nov 29 '06 #3
Nik wrote:
The problem disappears (IE6) when I remove the lne
div#links a:hover {border:0px black dashed;}
from your CSS. I can't offer any insight as to why this might be.
Yes, the thumbnails don't move with that change, but in that case the
larger image doesn't show up for me. Nik, can you please tell me if the
larger image (.im2) pops up when you take that line out? If so, what
version of IE? Thanks, Nik.

I should have said before that I'm using IE6.

And thanks for pointing out that the underline fragments go away when I
say text-decoration:none.

-- fredo

Nov 29 '06 #4
Nik wrote:
The problem disappears (IE6) when I remove the lne
div#links a:hover {border:0px black dashed;}
from your CSS. I can't offer any insight as to why this might be.
Yes, the thumbnails don't move with that change, but in that case the
larger image doesn't show up for me. Nik, can you please tell me if the
larger image (.im2) pops up when you take that line out? If so, what
version of IE? Thanks, Nik.

I should have said before that I'm using IE6.

And thanks for pointing out that the underline fragments go away when I
say text-decoration:none.

-- fredo

Nov 29 '06 #5
Nik
fredo wrote:
>
Yes, the thumbnails don't move with that change, but in that case the
larger image doesn't show up for me. Nik, can you please tell me if the
larger image (.im2) pops up when you take that line out? If so, what
version of IE? Thanks, Nik.

I should have said before that I'm using IE6.
You know, I was so hung up on the moving thumbnails that I never looked
at the **** popup!

Anyway, the problem is that you have white space betwen the two <img>
tags in each <a>. If you delete this so that instead of

<a>
<img>
<img>
</a>

You have
<a>
<img><
img>
</a>

You will see the jumping disappear.

I'm, on IE6, at least for the rest of today.

Nik
Nov 29 '06 #6

Nik wrote:
Anyway, the problem is that you have white space betwen the two <img>
tags in each <a>. If you delete this ... You have
<a>
<img><
img>
</a>

You will see the jumping disappear.
Nik
That works perfectly! That you Nik and Jim.

-- fredo

Nov 29 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: hholidayy | last post by:
Hi, I'm very new to web designing I'm designing my first web site for a friend of mind that has a small business I recently finished a book on HTML and started playing in Dreamweaver MX Then...
145
by: Mark Johnson | last post by:
Oddly enough, I found it difficult, using Google, to find a list of best-of sites based on the quality of their css packages. So I'd ask. Does anyone know of particularly good sites which are in...
4
by: Jorntk | last post by:
I have css in a folder name css. so how can this .css file read a pics file from another folder eg, pics/a.jpg. Both css folder and pics folder are located in a folder named project. I know i...
37
by: Jeff Thies | last post by:
There's a number of elements that I set attributes for: <table border="1" cellpadding="3" cellspacing="0">.. <img align="middle"> Are there CSS equivalents for any of these? Jeff
7
by: Kerberos | last post by:
I want to learn top-notch skills in CSS to create mind-blowing websites without tables, 100% XHTML & CSS. I am currently able to create average XHTML & CSS web sites, but I'm unable to do anything...
13
by: dave | last post by:
where is there a source which shows which css standard, and how much of that standard, is implemented in firefox's (1.0) engine? t.i.a.
30
by: Diane Wilson | last post by:
I'm trying (once again) to figure out how to make a robust CSS layout style that can replace tables. I'd like to be able to do a basic two-column layout, with a one-column header, a two column...
7
by: Paul Watt | last post by:
Hi, at the bottom of my page, I have two different sentances in the same <div>. I've got the left hand sentance not positioned and it sits on the left hand side of the screen. The second sentance...
59
by: phil-news-nospam | last post by:
In followups by Brian O'Connor (ironcorona) to other posts, he repeats the idea that using tables in CSS is not something that should be done because IE doesn't support it. Of course I'm not happy...
1
by: shapper | last post by:
Hello, I would like to use something as follows in my web site: Master.css @import url("reset.css"); @import url("global.css"); @import url("flash.css"); @import url("structure.css");
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.