From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Suggestions on Org-table export-html Date: Sun, 24 Feb 2008 11:36:41 -0500 Message-ID: <873ariz4yu.fsf@cornell.edu> References: <47BF4998.80604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTJqh-0002hD-5x for emacs-orgmode@gnu.org; Sun, 24 Feb 2008 11:37:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTJqc-0002gS-KM for emacs-orgmode@gnu.org; Sun, 24 Feb 2008 11:37:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTJqc-0002gG-Ed for emacs-orgmode@gnu.org; Sun, 24 Feb 2008 11:37:06 -0500 Received: from granite2.mail.cornell.edu ([128.253.83.142] helo=authusersmtp.mail.cornell.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JTJqc-0007Kx-1K for emacs-orgmode@gnu.org; Sun, 24 Feb 2008 11:37:06 -0500 Received: from localhost (southhill-maplehill.clarityconnect.net [209.150.235.30] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id m1OGatGI007942 for ; Sun, 24 Feb 2008 11:37:03 -0500 (EST) In-Reply-To: <47BF4998.80604@gmail.com> (Wanrong Lin's message of "Fri\, 22 Feb 2008 17\:15\:52 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, When I use the org-table to export-html, I have two suggestions to make the CSS more flexiable (it already done a great job!) The first one is for flexiable CSS: The current code in html is: It'll be flexiable to add another attribute class="org-table", so that in the CSS file, we can treat these tables specifically. In this way, we'll be able to write in the CSS file like: table.org-table th { background-color: #ECF1FF; } without affect the generic web table. The second one is for cleaner view on the html table: Currently, every row is start with , it'll be nice to have alternate row with class="alt": ... ... Then, in the CSS file, we can use: table tr { background: #e6e6e6;} table tr.alt {background: #f1f1f1;} The output html table will looks better then. Thanks! Xin