View Full Version : Background Image on AnyLink anchor

08-15-2009, 02:31 PM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: I want to be able to add a background image next to the link but I don't know how to do that. I tried it in the selectedanchor class, but that only displays it when moused over; I want the image to display normally. For any future reference, I am using MyBB and want to add an image like they have done already.

My URL is http://www.masteremerald.co.cc/ and the dropdown menu is "Links" on the far right. Please help. Thanks. :)

08-16-2009, 04:45 AM
You should simply style the CSS class of your anchor links, in this case, "menuanchorclass". Perhaps something like:

padding-left: 20px;
background: url('icon.gif') left center no-repeat;