On Tue, Dec 23, 2014 at 5:55 PM, Patrice Dumas <[email protected]> wrote: > On Tue, Dec 23, 2014 at 11:44:24AM +0100, Lennart Borgman wrote: >> On Tue, Dec 23, 2014 at 11:37 AM, Ivan Shmakov <[email protected]> wrote: >> >> > >> > I hereby suggest that: >> > >> > • <img align="ALIGN" border="0" … /> is replaced with >> > <img style="text-align: ALIGN; border: 0;" … />; >> > >> >> >> No. ;-) Please never use inline styles. Use a class name instead (+ CSS >> code for that class). > > In makeinfo, we avoid CSS, though we still use some. We use class, > except if INLINE_CSS_STYLE customization variable is set, in which case > CSS is inlined.
It is nice to hear that inline style can be avoided, Patrice! Is there a chance that you can add html attributes for height and width on <img>-tags? I mean as read from the actual images. (A quite different problem: I saw in Html.pm that the html code did not seem to be written be some general function that could make sure that tags are closed and well-formed etc. Is there any reason for that?)
