Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Moving images, something simple
Old 05-24-2010, 02:39 PM Moving images, something simple
CarlM's Avatar
Novice Talker

Posts: 5
Trades: 0
Anyone mind taking a quick look at this and finding the small amount of code that is making my images move on hover in FireFox to me anyway!

http://www.emmaflewers.com/works.html


Much appreciated.
CarlM is offline
Reply With Quote
View Public Profile Visit CarlM's homepage!
 
 
Register now for full access!
Old 05-24-2010, 02:59 PM Re: Moving images, something simple
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
FF adds a dotted outline around links by default and as your images are links ......
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-24-2010, 03:10 PM Re: Moving images, something simple
CarlM's Avatar
Novice Talker

Posts: 5
Trades: 0
Anyway I can stop the images moving for FF users?

Same thing happens in Safari aswell. Surely it's something in my CSS code? I'll have a look for dotted links.

Last edited by CarlM; 05-24-2010 at 03:11 PM..
CarlM is offline
Reply With Quote
View Public Profile Visit CarlM's homepage!
 
Old 05-24-2010, 03:33 PM Re: Moving images, something simple
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Nope It's nothing you have done.

It is an accessibility feature.

Turn it off for linked images with

Code:
a img:active {
     outline: none;
}

a img:focus{
     border: none;
}
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-31-2010, 04:57 PM Re: Moving images, something simple
CarlM's Avatar
Novice Talker

Posts: 5
Trades: 0
I know what the issue is:

font-size:10pt; font-weight:bold; color: #14365A;

on my links...

How can I stop this affecting my images?

Thanks

Last edited by CarlM; 05-31-2010 at 04:59 PM..
CarlM is offline
Reply With Quote
View Public Profile Visit CarlM's homepage!
 
Old 05-31-2010, 06:15 PM Re: Moving images, something simple
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
font-size:10pt
PT are not a valid measurement for the web - it's px, em, or % - pts are for PRINT.

I believe your actual problem is coming from this code:

Quote:
#gallery ul a:hover img {
border: 2px solid #333;
border-width: 5px 5px 5px;
color: #fff;
}
If you want an effect on hover, change the color of the border, but make sure there is the SAME width border on the link in the un-hovered state.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Moving images, something simple
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40689 seconds with 12 queries