Code:
<h2>something</h2>
<p class="imageright">
<img src="something">
text
</p>
<p class="imageleft">
<img src="something">
text
</p>
Code:
h2 { text-align: center; }
p.imageright img { /* Image Right - Text Left */
float: right;
clear: right;
padding-left: 1em;
padding-bottom: 1em;
}
p.imageleft img { /* Image Left - Text Right */
float: left;
clear:left;
padding-right: 1em;
padding-bottom: 1em;
}
okay sorry about before, I havent worked with floating in this way for some time, and I didn't fully test my other example...
above is are 2 ways of floating the image. If you want the image on the right use the top and the image on the left use the bottom. take out all other instances in dealing with positioning and floating that I had before. the padding in there i will the the image some whitespace around it....
sorry and good luck.
Bookmarks