User:Philcha/Sandbox/Template - Annotated image/doc

Box structure
For flexibility and maintainability of position, it might be nice (not essential) to support right and bottom params. I'd leave this until "phase 2".
 * Outer DIV, which also contains caption. Sized as next div plus 2px all round.
 * Inner border DIV. Sized explicitly by user.
 * Picture DIV. Absolute positioning within Inner border DIV, default to centered horizontally and vertically (vertical centering will need exprs).
 * Annotation DIVs. Absolute positioning within Inner border DIV. Sized automatically. Maximum control over internal formatting (color, font-weight, etc.). Should if possible support any (X)HTML that's allowed in a DIV.