473,748 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5854
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
870
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 realize there was a faster and more efficient way to do things with CSS So I started self-learning CSS, about a week ago Today, while I was studying my CSS book at work...a programmer from my firm said to me...
145
8843
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 good measure because of their creative and useful css designs? I'm aware of Zen Garden and a few others. So don't bother with those. And I hope I don't get replies from people with a 'tin ear' and no design sense. Good sites. Good pages. That's...
4
15069
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 can call the pic by url(project/pic/a.jpg) However, its very inconveninet when I change the folder name eg from project to project10.
37
3413
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
12436
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 without tables. I need a good book. I found on Amazon two O'Reilly books: - Cascading Style Sheets: The Definitive Guide, 2nd Edition by Eric A. Meyer - CSS Cookbook by Christopher Schmitt I have the HTML, XHTML, and CSS Bible by Bryan...
13
3092
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
3143
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 body, and a two-column footer. The problem, and one that always sends me back to using tables, is that word "robust." Absolute positioning gets squirrelly, because it takes the positioned elements completely out of the float scheme, and stuff...
7
2189
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 is placed in a <div> floated right. the problem is that the second sentance drops below the level of the first sentance and I want them in-line. Please help! The URL is : www.paulwatt.info CSS www.paulwatt.info/css/paullayout.css
59
3660
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 about the fact that IE doesn't support CSS tables. But what can one do about that? And tables of one type or the other are needed in some cases (regardless of whether some people feel it is appropriate or not). So the issue I and considering...
1
1862
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
9552
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9326
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8245
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.