The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS help with dropdown menu

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #37159

    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?

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.