RockyŠ Posted May 4, 2012 Share Posted May 4, 2012 If you check www.nakupi.eu/rok and navigation menu where it says "DOMOV" it works in FF and Opera, but it doesn't work as it should in Safari and Chrome. It's bugging me for two hours now... Any idea? 1 Link to comment Share on other sites More sharing options...
Ingolme Posted May 4, 2012 Share Posted May 4, 2012 I think that's because you haven't set the background-position for the <li> element. Link to comment Share on other sites More sharing options...
RockyŠ Posted May 4, 2012 Author Share Posted May 4, 2012 Tried that, didn't helped. Here's my whole CSS for this menu .meni_top{height:59px; float:left; width:965px; background-image:url(images/meni_top.png); background-repeat:repeat-x;}.header .meni_top ul{padding-left:0;margin-top:22px;color:#000099;}.header .meni_top ul li{display: inline;list-style-type: none; margin-left:0; cursor:pointer; background-position:center}.header .meni_top ul li:hover{color:#FFF; background-image:url(images/meni_top_active.png); height:59px; background-repeat:repeat-x; padding:28px 0px 15px 0px; background-position:center;}.header .meni_top ul li.active{color:#FFF;background-image:url(images/meni_top_active.png); background-repeat:repeat-x; padding:28px 0px 15px 0px; background-position:center;}.header .meni_top ul li.active a{color:#FFF;}.meni_top ul a{color:#000099;text-decoration:none; text-transform:uppercase; padding:10px 22px 21px 22px; line-height:28px;background-image: url(images/meni_top_divider.png);background-repeat: no-repeat;background-position: right 20% ;}.meni_top ul li a:hover{color:#FFF; } Link to comment Share on other sites More sharing options...
RockyŠ Posted May 4, 2012 Author Share Posted May 4, 2012 Solved! I changed padding and background position of ul a{} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now