WordPress.org

Ready to get started?Download WordPress

Forums

Center aligning linked images (1 post)

  1. Darran
    Member
    Posted 3 years ago #

    This has been a problem which has been bugging me for the longest time.

    How can we center align linked images without using <p style="text-align:center;"> ... </p>

    The code which WordPress provides to center align does not work for linked images not filling the entire width of the content area because of display: block;.

    Any ideas? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic