Thanks. Esmi, http://invictatrader.com is the link. I did not find the above code in my style.css but using the <center> and <center/> tags at the beginning and end of the <img src=............> worked too. Did not add the code above as did not want to see it apply to all images in the sidebar or on pages and posts, if it did. It was a small PR image I was trying to align. The code I saw in my style.css was the one below. Looks similar to one above posted by Shane.
.aligncenter, div.aligncenter, .art-article .aligncenter img, .aligncenter img.art-article, .aligncenter img, img.aligncenter
{
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft
{
float: left;
}
.alignright
{
float: right;
}
.alignright img, img.alignright
{
margin: 1em;
margin-right: 0;
}
.alignleft img, img.alignleft
{
margin: 1em;
margin-left: 0;
}
Thanks.