Forums

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

Home Forums CSS [Solved] Nav tag height issue, overflowing container in y

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

    http://www.cssdesk.com/wWLgR

    Please check the working example, if you inspect the nav tag, it exceeds 5 px from container height. Where this 5px come from?, i know how to fix them, but just dont know why they exist at all.

    Can someone give me a explanation, so i can better understand this case.
    Been searching around, but cant find good information about this.

    Btw, my fix was to add height: 100%; on nav class.

    #176654
    Paulie_D
    Member

    I confess, I’m not entirely sure but you have line height of 40px on the div.Navbar-Profile.

    If you remove that and put in the anchor tags (which, is really where it should be) the problem is resolved.

    #176675
    Komayo
    Participant

    Nice, its a better solution than mine, no extra style lines. :).
    But why does the anchor tags do that? Messing around with the container height?

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