Ads are not an endorsement by the blog author.

(sometimes)TestJournal

Public Journal
 Back to Journal Archives | Subscribe to Alerts Alerts Subscribe to Alerts | Feeds
< WooHoo for Photos
Sunday, August 13, 2006
Calling All Photo >
Sunday, August 13, 2006
August 2006
Sunday, August 13, 2006

Photo Tip: Float that Photo!


Some of my entries use a little trick called a "float". Using some CSS and an HTML tag you can display a smallish photo and have your text wrap around the photo. Very easy to accomplish. Here is the CSS and HTML to float a photo or a graphic.

<span style="float: right; padding: 5px">Your Image Here</span>


First add the photo to your entry and then switch to HTML view to add the float code. You can float an image to the left or right. The "padding" portion of the CSS keeps the text from running too close to the image. If you have questions, let me know in comments.

Try to float one of your small images in one of your entries. Leave a link in the comments if you want share and show off your floated image.


sepintx at 10:17:00 PM CDT Blog about this entry
This entry has 4 comments: (Add your own)