Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   How do I add margins/spacing to ALL images using the Images section? (http://forum.bytesforall.com/showthread.php?t=3240)

oskarfalk Sep 2, 2009 06:01 AM

How do I add margins/spacing to ALL images using the Images section?
 
I want to have a solid border around my images (in all posts/pages), but then I want spacing OUTSIDE of that border (just to separate the images from the rest of the post-contents).

I notice that "Padding" adds padding between the border and the image. But I want to add it on the outside of the border. How do I do this?


I tried typing "spacing: 15px", "margin: 15px" etc. but I can't seem to make anything happen.

What's the magic word here??? :(

juggledad Sep 2, 2009 06:09 AM

not exactly what you want, but try this for a frame about the image
at ATO->Style Images->Images in Posts put this in replacing what is there
HTML Code:

float: right;
margin: 0 1em 1em 1em;
padding: 15px 15px 20px 15px;
display: inline;
text-align: center;
border-color: #CCC #999 #999 #CCC;
border-width: 1px 2px 2px 1px;
border-style: solid;



All times are GMT -6. The time now is 02:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.