Forums

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

Home Forums CSS Easy question

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28975
    noahgelman
    Participant

    When you have an unordered list inside another for a drop down menu, the drop down indents a little. There’s supposed to be a way to get rid of that so it’s flush with the parent nav, but I forgot which property it was. Help me out?

    #75323
    Chris Coyier
    Keymaster

    Firebug it and look. It’s either margin, padding, or a "left" value.

    #75704
    noahgelman
    Participant

    Turns out it had some margin that it was inheriting from the top nav. I could have sworn I tried margin:0 on the drop down. It’s the first thing I did, Maybe during my work I had forgot to post so it seemed like it didn’t solve the problem. Anyway, thanks Chris.

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