Ticket #5223 (closed defect: worksforme)
Image macro styles are narrowly defined
| Reported by: | mbratch@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | 0.10.4 |
| Severity: | minor | Keywords: | image |
| Cc: |
Description
When using the 'Image' macro, the documentation states that CSS type styles can be used, such as "align=left". However, even though CSS allows "align=middle", this style (which is very commonly used) doesn't work with the Image macro because the Image macro translates the align style as a "float:". In other words, "align=left" becomes CSS style "float: left" rather than "align: left". So "align=middle" becomes "float: middle" which has no meaning in CSS so does nothing.
It would be far more useful (and obvious) to pass a CSS style through to the HTML as-is.


