Support » Themes and Templates » using images as borders around images?

  • Hi,

    Im quite new at wordpress and I am trying add a function to my theme.
    but im not that great with css so i was hopeing someone here could help or point me in the right direction.

    My problem is that i would like to add a graphical boder to any images posted on my site (posts or pages) Right now i add the frame in photoshop but it could be cool is the theme would do this by adding a table or something to go around the images with a side, left, right and top frame. (I hope you can understand any of this :D) to see how it looks now using photoshop go here http://www.cauldronofblood.com/?p=1 now the question is how do I do this with in wordpress.

    cheers,

    – bleak

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you areusing images of the same size the easiest way would be:
    change the size surrounding p and add your border-image as background:

    <p style=”background: #460002 url(borderimage-url) no-repeat top right;width:400px;height:300px;”>
    <img src=”imageurl” style=”margin:50px;width:300px;height:200px;”/>
    </p>

    hmm sounds good.. ill give it a try.

    Thanks for your reply. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘using images as borders around images?’ is closed to new replies.