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

Home Forums CSS Navigation hover causing space in header

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #45938

    I am noticing that the last item in my navigation when hovered expands the background, but not the header background if the browser window is around 1200px wide. You can see my site here:
    [My Site]( “My Site”)

    You have to scale the browser window down to where it is close to the last item on the right side of the navigation, then hover over “internships”, and then to see the gap made by the navigation, move the scroll bar over to the right. Notice the space created at the end of the header bar? What is causing this?


    I get the gap without hovering, it’s the way that you formatted your CSS and HTML document. I’d take a look at maybe reworking the basic structure to solve your problem. You’re using fixed width and fluid percentages widths in odd places.


    Thanks Krish!
    That’s all it took. I don’t know why I didn’t think about that. It’s Friday, and my mind is on the weekend I suppose.


    Well, It fixed it for desktop browsers, but not for anything mobile. Could someone take a look at my site on a tablet or phone and give me some ideas as to what is causing this large space to the right of the header. Also, the header doesn’t extend the full length of the page either. Thanks!

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