emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] aligning images, html attributes ignored when exporting to html


From: Nicolas Goaziou
Subject: Re: [O] aligning images, html attributes ignored when exporting to html (longish, sorry)
Date: Sun, 22 Apr 2018 10:25:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Andreas Reuleaux <address@hidden> writes:

> following this tutorial
>
>   https://orgmode.org/worg/org-tutorials/images-and-xhtml-export.html
>
> I am trying to export some sample.org file to html, and have the images
> floated to the right, with no success however.
>
> to that end ATTR_HTML is used in the tutorial and in my sample.org:
> -----
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
> eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
> minim veniam, quis nostrud exercitation ullamco laboris nisi ut
> aliquip ex ea commodo consequat. 
> #+ATTR_HTML: style="float:right;"
> [[./img/org-mode-unicorn.png]]

I think the correct syntax is

  #+ATTR_HTML: :style float:right;

The tutorial is probably outdated.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]