• Hi – I am running into a problem when using <center>. I tried using other methods but they seem to either not work or produce the same result, mainly, too much space between the centered stacked images and the text above them.

    Example page:

    http://www.integra.care/sample-page/

    Would appreciate some help on this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • jack randall

    (@theotherlebowski)

    if your theme is html5 then <center> isn’t supported…

    create a div around the thing you want to center, give it a class or id and then center it using css.

    Thread Starter alonperel

    (@alonperel)

    Tried different things. Added this to the main stylessheet

    .imagescentering {
    margin-left: auto;
    margin-right: auto;
    margin-top:-10px;
    width: 80%;
    background-color: #b0e0e6;
    }

    And then used div in the page. I left it like it so you can see.

    Thread Starter alonperel

    (@alonperel)

    Any more advice?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘leaves too much space between’ is closed to new replies.