MustiC Posted November 27, 2010 Share Posted November 27, 2010 Dear freaks, I have a problem with css and html, i have menu buttons that got a mouseover script, but on firefox it doesn't show up and on internet explorer when i click on the button then the page opens but the menu button disappears! But when i open the site from my OWN laptop then it works on all browsers, this happens only when I upload the site to my ftp. This is the code: HTML: <a href="/index.html" class="home"></a> CSS: a.home:link{ background: url(images/but_home.png) no-repeat; position:absolute; top:0px; left:71px; display:block; height:40px; width:81px; } a.home:hover { background-position: 0px -40px; } Can somebody help me with this please? Quote Link to comment https://forums.phpfreaks.com/topic/219983-menu-buttons-bugged/ Share on other sites More sharing options...
MustiC Posted November 27, 2010 Author Share Posted November 27, 2010 The problem is, When I press on the button then it disapears. Why is that? Quote Link to comment https://forums.phpfreaks.com/topic/219983-menu-buttons-bugged/#findComment-1140282 Share on other sites More sharing options...
DyslexicDog Posted December 9, 2010 Share Posted December 9, 2010 When you click a link that link becomes :active Quote Link to comment https://forums.phpfreaks.com/topic/219983-menu-buttons-bugged/#findComment-1145103 Share on other sites More sharing options...
haku Posted December 10, 2010 Share Posted December 10, 2010 To add to the last poster's comments, remove :link from your CSS. Quote Link to comment https://forums.phpfreaks.com/topic/219983-menu-buttons-bugged/#findComment-1145237 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.