2 replies [Last post]
cssforumgo
Offline
newbie
Last seen: 12 years 3 weeks ago
Joined: 2006-05-05
Posts: 6
Points: 0

Hey, as always it seems to work normal with FF. But IE starts moving images when you go over it.

link:
http://www.net-force.com/hotest/a1.html

any suggestions how to fix it so it displays properly in IE? thx!

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 26 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

[Solved] IE moves images (CSS mouse over)

Try this:

.horo-list li {
	position: relative;
	float: left;
	width: 64px;
	height: 64px;
	margin: 0;
	padding: 0;
	border: 0;
}

.horo-list li a:hover { 
    position: absolute;
	top: -2px;
	left: -2px;
	width: 69px;
	height: 69px;
	z-index: 100;
}

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

cssforumgo
Offline
newbie
Last seen: 12 years 3 weeks ago
Joined: 2006-05-05
Posts: 6
Points: 0

[Solved] IE moves images (CSS mouse over)

thanks. it fixed the problem.