From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: how to specify table width in HTML export Date: Tue, 20 Mar 2012 02:53:27 -0400 Message-ID: <24029.1332226407@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9swm-0006D8-Nj for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 02:53:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9swk-0001AJ-Uw for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 02:53:32 -0400 Received: from g6t0185.atlanta.hp.com ([15.193.32.62]:20666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9swk-00019T-Pw for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 02:53:30 -0400 In-Reply-To: Message from "Stephen J. Barr" of "Tue, 20 Mar 2012 02:06:43 EDT." 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: "Stephen J. Barr" Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Stephen J. Barr wrote: > Hello, > > This seems like a simple question but I can't seem to find the answer? > How do I specify the table width for an org-table that I will export > to HTML? > Not sure about the real HTMl syntax, or whether this is the best solution (I'd imagine CSS would be better *if* it can be done with CSS) but the following: #+ATTR_HTML: width="100" | col1 | col2 | |------+------| | 1 | 3 | | | | gets translated into an HTML table with an opening tag like this: Does that do the trick? Nick