Forums

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

Home Forums CSS HELP!

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

    Hi.

    How do you remove padding for a heading or an image in CSS?
    please help!

    Thanks;

    Jeff

    #263239
    Beverleyh
    Participant

    Set padding: 0; on the heading element, but the img probably requires the display property setting as block instead (its inline by default so there’s a gap – what I believe you’re referring to as padding – reserved for hanging letters, like g/y/j, etc.)

    For specific help, please provide your code in a CodePen.

    #263259
    Jeff_M
    Participant

    Ok Thanks :)

    Jeff

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