Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Alan G Isaac <aisaac <at> american.edu>
Subject: Re: table border
Newsgroups: gmane.text.docutils.user
Date: Wednesday 31st December 2008 03:17:50 UTC (over 8 years ago)
On 12/30/2008 7:29 PM David Goodger apparently wrote:
> I tried removing border="1"; without it, tables have no borders at 
> all. I cannot figure out the combination of CSS styles necessary to 
> duplicate the effect of border="1". If you can, please let me know, 
> and we can remove border="1" from the HTML writer. 

To duplicate::

     table.dup {
             border: 1px solid black; }
     table.dup td
             { border: 1px solid black; }
     table.dup th {
             border: 1px solid black; }

But it's nicer to collapse the border::

     table.bordered {
             border-collapse: collapse;
             }
     table.bordered td
             { border: 1px solid black; }
     table.bordered th {
             border: 1px solid black; }

hth,
Alan Isaac



------------------------------------------------------------------------------
 
CD: 3ms