Padding between image and text

liunx

Guest
Hi, is there a way of adding a little bit of padding between text and images?<br />
<br />
If you go here:<br />
<br />
<!-- m --><a class="postlink" href="http://www.cageofmonkeys.co.uk">http://www.cageofmonkeys.co.uk</a><!-- m --><br />
<br />
you can see that the text is virtually touching the side of the image, so is there a way of adding a little space?<!--content-->i think you can use CSS styles to put a padded area around images.<br />
<br />
put this in the head of your page:<br />
<br />
<style type='text/css'><br />
img<br />
{<br />
padding : 15px;<br />
}<br />
</style><br />
<br />
<br />
you should get some space around your image.<!--content-->Hi there afx237vi,<br />
<br />
Horus_Kol suggested the use of padding...<br />
unfortunately this will not work, instead <br />
add this line to your style sheet...<br />
<br />
img#one <br />
{ <br />
margin-right:10px;<br />
}<br />
<br />
and id="one" to the image<br />
<br />
c:cool::cool:thead<!--content-->Thanks for the suggestion, but I tried that and although it worked, it also padded all the gifs in the sidebar and made them look all weird.<br />
<br />
Any way to just make that work for my posts in the main body?<!--content-->Oops, didn't see your post coothead, I'll try that now!<!--content-->Thanks very much coothead, worked perfectly :D<!--content-->
 
Back
Top