A Useful Attribute, Clear Left
// September 14th, 2005 // Technology Bits
Often I write articles that I want an image on the left with text around it. This is as simple as putting align="left" in the img tag. However, sometimes you want a portion of the text to not be wrapped, or you have only a small amount of text and don’t want your technorati tags or next story to get wrapped up next to the image.
In either of these cases, simply use: <br clear="left" />
Another quick tip for <div style="height:100px"></div> to make some empty space in a post. An exaple place where I needed this was in writing quizzes.
Update 5/8/2006: Jon tells me I’m a big jerk for not additionally mentioning you can use “right” or “both” in place of “left” to clear other things you may want to do.




Conveniently I can now search for “Jerk” on your blog when I need to reference this post. Thanks Zach!