From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Reuleaux Subject: Re: aligning images, html attributes ignored when exporting to html (longish, sorry) Date: Mon, 23 Apr 2018 20:04:13 +0100 Message-ID: <87wowxzqvm.fsf@a-rx.info> References: <87muxwvbf9.fsf@a-rx.info> <87vackuusr.fsf@a-rx.info> <874lk1dbie.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAgzw-0007hi-Vq for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 15:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAgzs-0000WX-Vz for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 15:19:36 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21135) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fAgzs-0000W5-OB for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 15:19:32 -0400 Received: from rx by dell with local (Exim 4.90_1) (envelope-from ) id 1fAgl3-0007j9-AY for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 20:04:13 +0100 In-Reply-To: <874lk1dbie.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> (Richard Lawrence's message of "Mon, 23 Apr 2018 11:27:05 -0700") 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: emacs-orgmode@gnu.org Ah, yes, you are right, thanks. Have used class before, but start out with style usually when experimenting. Thanks, Andreas Richard Lawrence writes: > Hi Andreas, > > Andreas Reuleaux writes: > >> Leaving out the double quotes may be comfortable, but I am not sure >> if this was a good idea: makes it difficult to see which parts >> belong to the style, and where the alt attribute starts: >> >> #+attr_html: :style float: right; border: 1px solid brown; :alt >> foo this would have been easier to read I think >> >> #+attr_html: :style "float: right; border: 1px solid brown;" >> :alt "foo" > > This would be a good place to use a CSS class. > > In your CSS file (or between