Forums

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

Home Forums CSS Gap under responsive image

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

    I’ve been experimenting with a responsive “exercise” site and ran across an issue with the image.

    http://element118.com/codetesting/responsive/

    Underneath the image there’s a gap. I just can’t figure what’s causing it. FYI – There are transitions on this version. I was curious so I started messing around with them.

    I created another, even simpler site and the gap is there on the bottom as well …

    http://element118.com/codetesting/responsive2/

    In this case the DIV it’s contained within has a yellow background.

    Any help appreciated. TIA.

    #149426
    Paulie_D
    Member

    Add display:block to the actual image.

    Job done.

    #149428
    Bokehman
    Participant

    Thanks!

    Adding it inline didn’t seem to work, but adding to the CSS did.

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