Grow your CSS skills. Land your dream job.

Easy question

  • # May 10, 2010 at 6:15 pm

    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?

    # May 10, 2010 at 8:35 pm

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

    # May 14, 2010 at 1:19 am

    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)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".