WordPress.org

Ready to get started?Download WordPress

Forums

Add border and margin to images in posts (2 posts)

  1. DayBay
    Member
    Posted 7 years ago #

    Hi all,

    Is it possible to edit the stylesheet so I have a border and margin around each image in my posts. At the moment I'm doing this myself by adding the next code to each images:

    style="border: solid 1px #000; margin: 1px;"

    If it's possible, can someone please tell me how?

    Thanks in advance,
    - Jeffrey

  2. vansgirl12
    Member
    Posted 7 years ago #

    in your css just put that info under img. img { border: solid 1px #000; margin: 1px; }

    like that.

Topic Closed

This topic has been closed to new replies.

About this Topic