Image Wrapping margin problems
-
Hi all,
I’ve read the codex file on this issue, and I’ve looked at a bunch of other posts and followed the instructions in several of them, but I still can’t get this to work.
What I want to do is have it so that when I put an image in a post and align it left or right, the text wraps nicely around the image — and this is the important part — has a space of 5px between the text and the image. I want to be able to do this without having to insert a style=”whatever” tag every time I put an image in a post. Right now I can just do this using the html command hspace=”5″, so to have to put in a style=”whatever” tag is just as much effort. Ideally I just want this to happen automatically every time I put in an image. Any ideas? My style.css file reads as follows:
img.alignright { padding: 4px; margin: 5px 5px 5px 5px; display: inline; } img.alignleft { padding: 4px; margin: 5px 5px 5px 5px; display: inline; } .alignright { float: right; border: 0; padding: 2px; margin: 0 5px 0 5px; } .alignleft { float: left border: 0; padding: 2px; margin: 0 5px 0 5px; }
My site is: https://www.metalsucks.net
Thanks very much in advance for your help!
-ben
- The topic ‘Image Wrapping margin problems’ is closed to new replies.