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
Why images disappear when over
Old 12-09-2009, 01:43 PM Why images disappear when over
Novice Talker

Posts: 10
Name: Keven
Trades: 0
When I do an hover on an image it disappears for 1 secondes and then appears back.

heres the source code

html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="main.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<a id="bouton" href="http://www.google.ca" title="Google"></a>

</body>
</html>


html



CSS


@charset "utf-8";
/* CSS Document */

#bouton

{
position:absolute;
width:89px;
height:65px;
background:url(images/accueilnormal.gif);
}


#bouton:hover

{
background:url(images/accueilhover.gif);

}


CSS


and hres the website if u want to check it what it does in real time

http://www.naldart.comze.com/


Thanks
bigkivon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-09-2009, 02:13 PM Re: Why images disappear when over
Skilled Talker

Posts: 58
Trades: 0
It's not disappearing - just delayed while loading.
whatsherface_21 is offline
Reply With Quote
View Public Profile
 
Old 12-09-2009, 02:14 PM Re: Why images disappear when over
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Yep, perfectly normal occurence.
__________________
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 offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-16-2009, 01:57 AM Re: Why images disappear when over
Average Talker

Posts: 25
Name: Adam
Trades: 0
The images are loading. try making the images smaller in weight.
__________________

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

JohnnyLaw is offline
Reply With Quote
View Public Profile Visit JohnnyLaw's homepage!
 
Old 12-20-2009, 12:27 AM Re: Why images disappear when over
Novice Talker

Posts: 5
Name: DeShea Witcher
Trades: 0
I had the same problem. Good to know it's nothing serious.
Onthewayup is offline
Reply With Quote
View Public Profile
 
Old 12-23-2009, 02:50 AM Re: Why images disappear when over
GeekSpecialties's Avatar
Super Talker

Posts: 132
Name: Leonard
Location: Minnesota, USA
Trades: 0
You can prevent this by combing your 2 images into a single image. Then just move the image in css on the hover.

This will add some weight to the initial load, but usually insignificant.
__________________
Len,

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


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

GeekSpecialties is offline
Reply With Quote
View Public Profile Visit GeekSpecialties's homepage!
 
Reply     « Reply to Why images disappear when over
 

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.48394 seconds with 12 queries