User:Philcha/Sandbox/Template - Annotated image
Appearance
< User:Philcha | Sandbox
Box structure
[edit]- 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).
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". - 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.
- Picture DIV. Absolute positioning within Inner border DIV, default to centered horizontally and vertically (vertical centering will need exprs).
- Inner border DIV. Sized explicitly by user.