Pachino Posted December 9, 2010 Report Share Posted December 9, 2010 Hi all, This is no doubt me, ill have missed something or other. Wondering if anyone can look over. Its from the navbar tutorial. Works fine in Firefox but in IE the buttons jump about as you hover. <!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> <meta http-equiv="Content-Type" content="text/html; charset=UTF=8" /> <title>Untitled Document</title> <link href="nav.css" rel="stylesheet" type="text/css" /> </head> <body> <ul> <li><a href="">One</a></li> <li><a href="">Two</a></li> <li><a href="">Three</a></li> <li><a href="">Four</a></li> </ul> </body> </html> ul { margin: 0px; padding: 0px; list-style-image: none; } ul li a { display: block; height: 40px; width: 200px; line-height: 40px; text-decoration: none; color: #FFFFFF; text-indent: 75px; background-image: url(pixy-rollover.gif); background-repeat: no-repeat; margin-bottom: 20px; background-position: right; } ul li a:hover { background-image: url(pixy-rollover.gif); background-repeat: no-repeat; background-position: left; } Could someone explain what I have done wrong or why this is happening. Hopefully I will learn something new. Quote Link to comment Share on other sites More sharing options...
BeeDev Posted December 9, 2010 Report Share Posted December 9, 2010 Any way we can see/download "pixy-rollover.gif" ? Quote Link to comment Share on other sites More sharing options...
Pachino Posted December 10, 2010 Author Report Share Posted December 10, 2010 Hi, Could it be the image that is the problem? It works fine in FIrefox. How do I attach images to my posts and ill get it up here today. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted December 10, 2010 Report Share Posted December 10, 2010 The image itself probably isn't the problem, but it would be helpful to have so we can see exactly what you are working with. To add an image, click the "Add Reply" button at the bottom of the page. On the page that appears, there is an "attachments" section below the comment box. Upload your file there. Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.