Forums

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

Home Forums CSS how to erase free space between inline-block elements

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #248285
    Funkaholik
    Participant

    hi guys .. listen
    child elements here have some strange margin between their selfs
    and last one falls down the line even though they have equal width

    how to do this without flex properties?

    #248287
    Paulie_D
    Member
    #248288
    I.m.learning
    Participant

    Looks like Paulie_D responded while I was responding.

    float:left; clear:none; to .footer__block__items

    #248318
    Funkaholik
    Participant

    i like more font-size: 0; for .footer__block
    it’s even cleans the borders check this out

    #248324
    Senff
    Participant

    float:left; clear:none; to .footer__block__items

    Do not use this option. Giving it “float:left” will make the items block level, which defies the purpose of making them inline-block.

    #248609
    Funkaholik
    Participant

    here
    i found this .. main article is to not closing li tags .. all browsers automatically closing same tags but free spaces will be erased
    but not working for divs .. so font-size: 0; probably the best

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