WordPress Coding Tips: Alignment around Images
In WordPress, you’ll need to find an alternative to the usual hspace and vspace tags.
Here’s a great suggestion from the WordPress Codex. In the stylesheet, paste this:
img.left { padding: 4px; margin: 0 7px 2px 0; display: inline; }
And in your markup code in whichever file you’re editing, e.g. About, in my case, code it like this:
<img src=http://www.whereveryourpicis.com/pic.gif class=left>
Tweak the padding and margins till they align nicely. And you’re done!
Christina Sng worked as a web developer, information architect, account executive, producer, technical writer, and usability consultant in the 10 years (that's 30 years in Internet time!) she brought bread home. She has since retired to raise her children but still spends most of her waking hours on the net, no thanks to Apple. Here are some of her adventures.