March 7, 200917 yr Hi what is the best way to have a css menu with different images and hover states Thanks
March 7, 200917 yr Declare them in CSS do a different ID for each nav id item. Sorry if that is a bit brief I have to nip out now but am sure someone will come along with an example.
March 7, 200917 yr Author Thanks would be great if someone has an example. This is what i want to do Home = one image Hover = another image and so on for 5 menu links Thanks
March 7, 200917 yr http://superfluousbanter.org/archives/2004...atrix-reloaded/ http://cardeo.ca/2008/how-to-create-a-sing...igation-matrix/ That's the best method, apple use it for there menu on the apple store (in firefox hover over the menu, on the rights side near the search bar... right click > view background image) and you should see it. Need any help with it just post back, if your working with uneven numbers it can get a bit confusing.
March 7, 200917 yr Author Not sure how to implement the html or css that is the sort of menu I am looking for.
March 7, 200917 yr Author Ok done it like this, Works fine does this look correct a#home { background-color: transparent; background-image: url(/images/home_menu.png); background-repeat: no-repeat; list-style-type: none; color: #666; text-indent: -9999px; width: 116px; } a#home:hover { background-color: transparent; background-image: url(/images/home_menuO.png); background-repeat: no-repeat; list-style-type: none; color: #666; text-indent: -9999px; width: 116px; }
March 7, 200917 yr It won't work correctly online, as when you use two images like that there will be a flicker between the two, which causese the menu item to disappear while the other one is loading (unless the images are cached). you should really have a look at what bocaj has posted as those tutorials would be the best way to implment a menu with images.
Create an account or sign in to comment