youngbuck Posted August 7, 2011 Posted August 7, 2011 EXPERIENCED CODERS ONLY GET IN TOUCH IF U CAN HELP WITH THIS! @ [email protected] Quote
Rory_M Posted August 7, 2011 Posted August 7, 2011 I can help, i need all the money i can get. I have added you on msn. Quote
Anonymous Posted August 7, 2011 Posted August 7, 2011 @ html level <ul class="main-menu"> <li class="one"><a href="#">Link 1</a></li> <li class="two"><a href="#">Link 2</a></li> <li class="three"><a href="#">Link 3</a></li> ... </ul> @ css level .main-menu { /* to suit */ } .main-menu li { /* to suit */ } .main-menu li.one { background:url('one.png') 0 0 no-repeat; } .main-menu li.two { background:url('two.png') 0 0 no-repeat; } .main-menu li.three { background:url('three.png') 0 0 no-repeat; } Experienced required: next to none. Graphical skills needed: next to none Ability to copy and paste: handy Having a clue: important Quote
Sim Posted August 7, 2011 Posted August 7, 2011 @Anonymous, or just one background image with text over it instead of loading 10 images, load one then center text ;] Quote
Anonymous Posted August 7, 2011 Posted August 7, 2011 Background images with text reduce the ability to use translations or dynamic text, (though the latter is far from complex as you can see), however on the flip-side of the coin, raw text may not render the same across browsers. Using list-style-type:url may be viable, as can spans wrapping the anchors or in some cases I've no doubt that pure CSS is all that is needed. With the OP's carefully considered and elegantly worded opening salvo; I went for the low-hanging fruit. Personally, I'll stick to CSS3 classed <li>'s. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.