Solved

unwanted blinking button images in asp.net web site

Posted on 2011-09-28
2
387 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 500 total points
Comment Utility
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
Comment Utility
Great, it works perfect, thanks.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now