Mailing List Archive

image markup quick fix
While we're waiting for better image markup that allows us to write
{{floatright}}[[Image:foo]]

here's an idea for quick temporary fix.

How about we add the following to our stylesheet:

div.floatright {
float:right;
margin:5px;
}

This means we can write in articles:
<div class="floatright ">[[Image:Rockwell_font.png]]</div>

instead of what is currently on [[Rockwell (typeface)]]
Re: image markup quick fix [ In reply to ]
Tarquin-
> here's an idea for quick temporary fix.

> How about we add the following to our stylesheet:

> div.floatright {
> float:right;
> margin:5px;
> }

> This means we can write in articles:
> <div class="floatright ">[[Image:Rockwell_font.png]]</div>

> instead of what is currently on [[Rockwell (typeface)]]

Wouldn't you normally want a caption below the picture? In that case, you
also need to specify the width as part of the style. So you get

<div class="floatright" style="width:200px">

(or whatever)

instead of

<div style="float:right;margin:5px;width:200px">

Doesn't really save much.

Regards,

Erik