my old precision t3600 that was my main rig till I got my current build
will post pics of the server soon but here's the drives: (Intel DC-S4500 960gb enterprise grade SATA SSD for boot drive + Ironwolf Pro 14TB)
and my main rig does a backup to this every wed w luckybackup rsync/rclone frontend. mounted locally n added to fstab on the main rig and this t3600 does a nice job as being the backup rig n everything's synced.
Question
ahmz
I'm a bit confused and I need some help please.
I have the feeling this code is wrong but I'm not sure how to fix it.
Basically the <li> are graphical buttons, and the whole <li> block should be linked and the hover effect should work.
It works in Chrome and Opera but not in Firefox.
Any help appreciated :)
#menu-top ul { float:left; padding:0; margin:0; background:url(images/menu-top-separator.png) no-repeat center right; } #menu-top li { float:left; list-style:none; width:120px; height:50px; background:url(images/menu-top-titles.png) no-repeat 0 0; } #menu-top li.one { background-position:center 0px; } #menu-top li.two { background-position:center -50px; } #menu-top li.three { background-position:center -150px; } #menu-top li.four { background-position:center -200px; } #menu-top a:hover li.one { background-position:center -250px; } #menu-top a:hover li.two { background-position:center -300px; } #menu-top a:hover li.three { background-position:center -400px; } #menu-top a:hover li.four { background-position:center -450px; } <div id="menu-top"> <ul><a href="#"><li class="one"></li></a></ul> <ul><a href="#"><li class="two"></li></a></ul> <ul><a href="#"><li class="three"></li></a></ul> <a href="#"><li class="four"></li></a> </div>Link to comment
https://www.neowin.net/forum/topic/911256-solved-css-ahover-li/Share on other sites
7 answers to this question
Recommended Posts