Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

unwanted blinking button images in asp.net web site

Posted on 2011-09-28
2
Medium Priority
?
413 Views
Last Modified: 2012-05-12
I'm using css to change the image of a over button and a normal button but the space blink when the mouse passes over the button for the first time and changes the image.

Can i avoid this? is a better way then css?

.Home
{
    display: block;
    width: 116px;
    height: 49px;
    background: url('../images/Home.jpg') bottom;
}
.Home:hover
{
    background: url('../images/HomeOver.jpg') bottom;
}
0
Comment
Question by:girosoft
2 Comments
 
LVL 17

Accepted Solution

by:
Carlos Villegas earned 2000 total points
ID: 36758310
Hello, just the first time? then your images are not being cached... also you can try adding this somewhere in your aspx page (preferably before your button):
<img alt="" src="../images/Home.jpg" style="display: none;" />
<img alt="" src="../images/HomeOver.jpg" style="display: none;" />

Open in new window

0
 

Author Closing Comment

by:girosoft
ID: 36813958
Great, it works perfect, thanks.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question