Wrapping Text Around an Image
-
I’m having trouble wrapping text around an image in the body of a post. A previous topic in this forum recommended this site https://www.tamba2.org.uk/wordpress/graphicalcss/align/index.html for that issue. I’ve tried to do what that page says (even though, honestly, some of the things on that page–like pasting things twice into the css doc–don’t make any sense to me), to no avail.
My site is https://www.tatteredcoat.com , and the post I’m having a problem with is the top one–“Shooting the Moon.”
Here is what’s in the style sheet:
.img-shadow1 {
clear: both;
float:right;
background: url(images/shadowAlpha.png) no-repeat bottom right !important;
background: url(images/shadow.gif) no-repeat bottom right;
margin: 20px 0 0 17px !important;
margin: 20px 0 0 8px;
}.img-shadow1 img {
display: block;
position: relative;
background-color: #fff;
border: 1px solid #a9a9a9;
margin: -6px 6px 6px -6px;
padding: 4px;
}
div.clearer {
clear: left;
line-height: 0;
height: 0;
}And here is the code from the message itself:
<div class=”img-shadow1″>
<img src=”URL” align=”right”>
</div>
<div class=”clearer”> </div>What am I doing wrong? How can I get the text to wrap around the image?
Thanks in advance for your help.
- The topic ‘Wrapping Text Around an Image’ is closed to new replies.