I have a wordpress site where inserted images are not aligning with text correctly. No matter what I select for the image settings, it aligns to the left and text aligns to the bottom of the image (which looks goofy). I assume that something in my CSS is overriding the settings in wordpress, however I can't seem to locate the offending code. I pulled out the only code that was specific to images and am still having the same problem. Any ideas of what I should be looking for? The CSS code, in case it helps: Any suggestions are appreciated. Thanks!
As Unreal asked, can you post the site please? Also, could you put that code in the tags? It makes scrolling so long. But in the meantime, maybe reading this will help you out: [URL=http://codex.wordpress.org/Wrapping_Text_Around_Images]http://codex.wordpress.org/Wrapping_Text_Around_Images[/URL] Code (markup):
The code on your link fixed it - thanks! img.alignright {float:right; margin:0 0 1em 1em} img.alignleft {float:left; margin:0 1em 1em 0} img.aligncenter {display: block; margin-left: auto; margin-right: auto} a img.alignright {float:right; margin:0 0 1em 1em} a img.alignleft {float:left; margin:0 1em 1em 0} a img.aligncenter {display: block; margin-left: auto; margin-right: auto} Code (markup):