[Resolved] Center content

Home Forums Support [Resolved] Center content

Home Forums Support Center content

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

    I’m not able to center iframe content in a Section. The iframe is in this div:
    <div style="display:block;margin:0 auto;"></div>
    Any suggestions?
    Thanks!
    -Rick

    #600441
    Tom
    Lead Developer
    Lead Developer

    Hi Rick,

    A <div> is 100% wide by default.

    Try doing this: <div style="display:block;margin:0 auto;max-width: 800px;"></div>

    #600660
    Rick

    Thanks Tom! That gives me what I need.

    #600883
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad I could help 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.