Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How do I add margins/spacing to ALL images using the Images section?


  #1  
Old Sep 2, 2009, 07:01 AM
oskarfalk
 
2 posts · Sep 2009
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???
  #2  
Old Sep 2, 2009, 07:09 AM
juggledad's Avatar
juggledad
 
23,469 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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;
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Sep 2, 2009 at 07:15 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to add images to footer tarak Atahualpa 3 Wordpress theme 6 Jul 21, 2010 03:11 PM
how to add border to sidebar images? Riin Sidebars & Widgets 3 May 16, 2009 01:19 PM
How to add margins when not using a logo? Ashjoielee Atahualpa 3 Wordpress theme 1 Mar 30, 2009 09:18 AM
how to add images to footer tarak Page & Category Menu Bars 2 Mar 11, 2009 01:48 AM
Line Spacing of headline in comments section HenryGomez Comments, trackbacks & pings 1 Feb 18, 2009 01:15 PM


All times are GMT -6. The time now is 05:19 AM.


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