image positioning and captions
-
I’m having a lot of trouble getting images to look correctly in posts.
I’ve gone through the info in the codex and other sites, but still can’t get pictures to act right.
I want to have pictures sit on the right or left side, have the text rap around them, and also have captions. I used to be able to do this in movabletype with html, but after moving to wordpress, the html no longer really works. For example, if i use <caption valign=”bottom></caption> but the text still sits on top of the image. I’ve also tried to use html (align=”left”) or style=”float:left” inside the img code, but then the image sits way out side the confines of the post, as in the post is only centered around the text, and the picture, if it is big enough, will carry over into the posts below it, and onto the sidebar.
What I’m really looking for, is for someone to take my hand, pretty much show me the code i need to put in my style.css, and then what the code should look like when I’m writing the post. I’ve copied the exact code and example that is given on the codex page for wrapping text around an image, and it doesn’t work, most importantly that the caption code they give doesn’t work.
or, is there a plugin that can do all of this for me?
Below is what i have in my style.css for images.
/* images
--------------------------------------------------*/
img.left {
float:left;
margin: 0px 12px 0 0;
border: 3px solid;
}img.right {
float:right;
margin:0 0 0 12px;
}img.center {
display: block;
margin:0 auto;
}.caption {
margin: 5px;
padding: 5px;
border: solid 1px #000000;
font-size:90%;
color: black
}.right {
float: right
}.left {
float: left
}
- The topic ‘image positioning and captions’ is closed to new replies.