Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

unwanted blinking button images in asp.net web site

Posted on 2011-09-28
2
Medium Priority
?
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

721 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