Stefano Crocco wrote:
> I'm having a problem using RedCloth. I know this question is more suited for a 
> RedCloth mailing list, but the only one I found (the one on the RedCloth page 
> on rubyforge) is for people who wants to contribute to it, not for those 
> asking for help. If someone knows of another mailing list, please let me know.
> 
> My problem is quite simple: I want to use RedCloth and Textile to create a 
> table with borders around the it and between all cells, as the one produced by 
> specifying the rules="all" attribute to the html table tag:
> 
> <table rules="all" style="border:1px solid black">
> ...
> </table>
> 
> I can't find out how to obtain this. The standard Textile syntax for tables 
> produce a borderless table, while specifying the border style for the whole 
> table, as shown in the Textile reference (http://hobix.com/textile/) only puts 
> the border around the whole table.
> 
> I know I can insert the table using html, but before doing so, I'd like to be 
> sure there isn't a better alternative.
> 
> Any ideas?
> 
> Thanks in advance
> 
> Stefano
> 

You want a border around every cell?  If so, try something like this.

table(mytable).
|10|20|30|40|

Then your CSS could look something like this:

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

-- 
Michael Morin
Guide to Ruby
http://ruby.about.com/
Become an About.com Guide:  beaguide.about.com
About.com is part of the New York Times Company