Forums

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

Home Forums CSS [Solved] Flex:1 doesnt cover all the section

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #183533
    Aritmos
    Participant

    (noob here)
    just got into HTML5 and CSS3 and i was making a nav bar. Above the nav bar i had the title of the logo for the web with display 100% in css. The nav bar consited of 1 ul and 4 li’s inside.
    i gave the ul flex in css and all the li’s flex:1. But the Logo is bigger than the flex in the nav bar and leaves a white space in the left. I dont know how to fix this and if i try adding padding to the li’s they just get more squished, but not taking up that white space.
    please help!

    #183538
    Paulie_D
    Member

    Perhaps you could show us the problem in a Codepen.io demo?

    #184967
    Aritmos
    Participant

    Here:
    http://codepen.io/anon/pen/efaud
    as you can see to the left of “Home” there is a white space.

    #185107
    Aritmos
    Participant

    thx so much!!!!

    and yes really…

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