I am working in wordpress trying to make a dropdown menu for my blog. I have it working and it looks okay but I don't really like the css that runs it. The menu looks to wide in places for the link that is in it. I am trying to figure out how I can have the background of the menu just be as wide as the longest link with a few extra pixels for padding on the right and left. As it is right now, I have to set a width for the background. I have to do this I think because of the absolute positioning. Do you have any advice on the best way to code a dropdown menu?
Howdy, Can you show us what you have so far in a jsfiddle That way we can see the direction you're heading with it and nudge you along the way to success
I am not using javascript. It is a menu being generated by WordPress using only css to manage the dropdown menu. I am using css to add an image in between the main nav. I just can't post an example right now. So I guess it wouldn't be that easy to help.
That way we can see the direction you're heading with it and nudge you along the way to success