Customise CSS Menus with multiple backgroundimages?
Posted: Thu Dec 13, 2007 3:11 pm
Hello
I've got a menu, done in html/js where all top level items are colour coded using a background image here http://www.wdbuild.com/kaetest/layout2_curves.htm . I'd like to use the css horiz menu, but is whilst I can put a background image behind the whole menu, is there any way that I can give each top-level item a different background image, or a different left border.
Using my firefox dev tools, all top level items are the same class, therefore I can't address them individually, BUT, the tag recognises them as all being different and gives them a number (1-6 in my case). Any way of leveraging that fact to get multiple background images.
I could just use my own menu, but am keen not to have to manually change the menus every time the clients add or delete a page?
any ideas?
I've got a menu, done in html/js where all top level items are colour coded using a background image here http://www.wdbuild.com/kaetest/layout2_curves.htm . I'd like to use the css horiz menu, but is whilst I can put a background image behind the whole menu, is there any way that I can give each top-level item a different background image, or a different left border.
Using my firefox dev tools, all top level items are the same class, therefore I can't address them individually, BUT, the tag recognises them as all being different and gives them a number (1-6 in my case). Any way of leveraging that fact to get multiple background images.
I could just use my own menu, but am keen not to have to manually change the menus every time the clients add or delete a page?
any ideas?