From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: css classes to tables in html export Date: Tue, 18 Feb 2014 18:08:50 +0100 Message-ID: <20140218170850.GA30415@koalpara.local> References: <20140216213104.GA28092@koalpara.local> <20140217202213.GA11005@eyeBook> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGCuq-0004n0-Df for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 14:34:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGCuj-0002Zi-4p for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 14:34:44 -0500 Received: from mail-ee0-f51.google.com ([74.125.83.51]:51783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGCui-0002ZS-MJ for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 14:34:37 -0500 Received: by mail-ee0-f51.google.com with SMTP id b57so452250eek.10 for ; Wed, 19 Feb 2014 11:34:35 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140217202213.GA11005@eyeBook> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Frankel Cc: emacs-orgmode Sorry, you forgot to reply to the mailing list. I am copying mailing list in my reply. I hope it sticks to the thread. My intent was to add classes, so that when I export to html, I get something like this: Vikas On Mon, Feb 17, 2014 at 03:22:13PM -0500, Rick Frankel wrote: > On Sun, Feb 16, 2014 at 10:31:04PM +0100, Vikas Rawal wrote: > > How do I add custom css classes to tables while publishing my project? > > > > * Table attributes > This > #+BEGIN_EXAMPLE > #+ATTR_HTML: :style background-color:grey :cellpadding 1em > | a | b | c | > |---+---+---| > | 1 | 2 | 3 | > #+END_EXAMPLE > > results in this: > > #+BEGIN_HTML >
> > > > > > > > > > > > > > > > > > > > > > >
abc
123
> > > #+END_HTML > > > rick