Forums

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

Home Forums CSS Width issue with ul li in Safari

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

    I have an ul sized at 100% and all internal li are sized to complete the 100%. For an unknown reason, when RESIZING the Safari browser (let’s say to about 1000px resolution) it seems Safari is adding some space between the li last-child and the end of the ul. I created a codepen to reproduce:

    http://cdpn.io/nzrkb

    Thanks for your help!

    #147194
    networker
    Participant

    Found it

    ul {
    display: table;
    }

    li {
    display: table-cell;
    }

    will fix the issue.

    #147196
    jurotek
    Participant

    Are you aware that this is not going to work below IE8?

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