tarquin-
I'd like to add some CSS classes to our
stylesheets, based on the
popular image layouts listed on this page:
http://www.wikipedia.org/wiki/Wikipedia%3AImage_markup_gallery
For example, instead of this:
------------
<div style="float:right;margin:0 0 1em 1em;">[[Image:image name|alt
text]]
''Caption''</div>
------------
we could write this:
---------------
<div class="floatright">[[Image:image name|alt text]]
Then would you have to write
<div class="floatright" style="width:300px;">
to get the pixel width? This is important for preventing the caption from
expanding the floating framge. And the resulting code seems more complex
than before because you now need two attributes. What's with the 0 0 1em
1em anyway? margin:10px works fine.
Regards,
Erik