Forums

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

Home Forums CSS keep images together on one line

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #271132
    wmetraining
    Participant

    I have 4 small images that I want to stay together instead of wraping to a new line.

    I want the images to just keep getting smaller to stay together.

    How do I do this in CSS.

    I already have the viewport set so images get smaller.

    Currently I just have 4 img tags with nothing else. It works fine until I niew on a mobile phone.

    #271145
    Paulie_D
    Member

    We’d need to see some code…ideally a minimal demo in Codepen.io

    #271149
    wmetraining
    Participant

    Not sure how what I asked could be simplified.

    You know how html has those <img> tags?

    Assume there are 4 of them with any random image.

    #271155
    wolfcry911
    Participant
    #271169
    wmetraining
    Participant

    Perfect thanks

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