From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: aligning images, html attributes ignored when exporting to html (longish, sorry) Date: Sun, 22 Apr 2018 10:25:22 +0200 Message-ID: <87604jbqbx.fsf@nicolasgoaziou.fr> References: <87muxwvbf9.fsf@a-rx.info> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAAJQ-00070j-Bw for emacs-orgmode@gnu.org; Sun, 22 Apr 2018 04:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAAJL-0002SZ-8A for emacs-orgmode@gnu.org; Sun, 22 Apr 2018 04:25:32 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:46069) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fAAJK-0002Ri-Og for emacs-orgmode@gnu.org; Sun, 22 Apr 2018 04:25:27 -0400 In-Reply-To: <87muxwvbf9.fsf@a-rx.info> (Andreas Reuleaux's message of "Sat, 21 Apr 2018 16:14:50 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Andreas Reuleaux Cc: emacs-orgmode@gnu.org Hello, Andreas Reuleaux 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