Auto-positioning of figures
A few months ago A List Apart posted a really nice article on how to use a javascript function to automatically position figures (images with captions) on a web page.
I thought it was really interesting because displaying figures on a webpage is something I have yet to standardise on and the article has given me a good basis.
The article also drew my attention to Microformats which is an organisation formed to create a set of standards for using HTML. I can appreciate how conveinent it would be to have the same information on different site use the same HTML code, not to mention it will help define consistency between my own projects.
A proposal on Microformats discussion for class names on figures was particularly interesting to me. I look forward to applying many of these ideas into my own CSS framework.
Filed In:
Comments
No comments have been posted.
Rules: Paragraphs and linebreaks are automatically created (two or more linebreaks create a paragraph). Linebreaks between code tags remain linebreaks. Block tags cannot be enclosed by inline tags. Red attributes are required and green is optional.
Use "<" and ">" for "<" and ">". Enclosing PHP code in <code> tags will highlight the code (i.e. <code><?php echo 'hello world'; ?></code>).
List of valid tags:
<blockquote title="" cite=""></blockquote><cite cite="" title=""></cite><a href="" title=""></a><strong title=""></strong><em title=""></em><code title=""></code><abbr title=""></abbr><acronym title=""></acronym><ol title=""></ol><ul title=""></ul><li title=""></li>
