How can the gap under the image be removed ?

Home Forums CSS Customizations How can the gap under the image be removed ?

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  N.Soujanya 3 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #959

    Burmankakuli
    Participant

    How can the gap under the image be removed ?

    #960

    N.Soujanya
    Moderator

    can you please elaborate what you mean by the gap?

    #964

    Burmankakuli
    Participant

    I insert the image but it shows gap . I want to remove it can u please suggest the css code ?

    #967

    N.Soujanya
    Moderator

    ok Burmankakuli,  As images being inline elements are treated same as texts, so there is a gap left, which can be  removed by:
    CSS
    img { display: block ; }

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Pasham Technology © 2018 Pasham Technologies