jrbamberg
02-23-2008, 10:00 PM
I'm new to CSS and I just got my design starting to look the way I want it to, but I ran into a problem with a CSS rollover. In FF the rollover in my nav works like any other rollover should, roll over and new image appears, roll out original image appears, but in IE when I rollover the image appears, but when I roll out the image sticks! Anyone have an suggestions?
website for visual - www.justinrbamberg.com
Heres my code:
#home { background-image: url(../images/home_normal.jpg); background-repeat: no-repeat; position: absolute; left: 300px; width: 63px; height: 102px; }
#home a:hover { background-image: url(../images/home_over.jpg); width: 63px; height: 102px; }
#home a{text-decoration:none; display:block; width:63px; height:102px;}
#about { background-image: url(../images/about_normal.jpg); background-repeat: no-repeat; position: absolute; left: 363px; width: 77px; height: 102px; float: left; }
#about a:hover { background-image: url(../images/about_over.jpg); width: 77px; height: 102px; float: left; }
#about a{ text-decoration:none; display:block; width:77px; height:102px; float: left; }
#port { background-image: url(../images/port_normal.jpg); background-repeat: no-repeat; position: absolute; left: 440px; width: 77px; height: 102px; float: left; }
#port a:hover { background-image: url(../images/port_over.jpg); width: 77px; height: 102px; float: left; }
#port a{ text-decoration:none; display:block; width:77px; height:102px; float: left; }
#contact { background-image: url(../images/contact_normal.jpg); background-repeat: no-repeat; position: absolute; left: 517px; width: 69px; height: 102px; float: left; }
#contact a:hover { background-image: url(../images/contact_over.jpg); width: 69px; height: 102px; float: left; }
#contact a{ text-decoration:none; display:block; width:69px; height:102px; float: left; }
Thanks - jrbamberg
website for visual - www.justinrbamberg.com
Heres my code:
#home { background-image: url(../images/home_normal.jpg); background-repeat: no-repeat; position: absolute; left: 300px; width: 63px; height: 102px; }
#home a:hover { background-image: url(../images/home_over.jpg); width: 63px; height: 102px; }
#home a{text-decoration:none; display:block; width:63px; height:102px;}
#about { background-image: url(../images/about_normal.jpg); background-repeat: no-repeat; position: absolute; left: 363px; width: 77px; height: 102px; float: left; }
#about a:hover { background-image: url(../images/about_over.jpg); width: 77px; height: 102px; float: left; }
#about a{ text-decoration:none; display:block; width:77px; height:102px; float: left; }
#port { background-image: url(../images/port_normal.jpg); background-repeat: no-repeat; position: absolute; left: 440px; width: 77px; height: 102px; float: left; }
#port a:hover { background-image: url(../images/port_over.jpg); width: 77px; height: 102px; float: left; }
#port a{ text-decoration:none; display:block; width:77px; height:102px; float: left; }
#contact { background-image: url(../images/contact_normal.jpg); background-repeat: no-repeat; position: absolute; left: 517px; width: 69px; height: 102px; float: left; }
#contact a:hover { background-image: url(../images/contact_over.jpg); width: 69px; height: 102px; float: left; }
#contact a{ text-decoration:none; display:block; width:69px; height:102px; float: left; }
Thanks - jrbamberg