Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-09-16 15:32:46

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

[textile] Using Textile for tables - Couple of questions

I have to add some tables to certain articles on my site, I’d prefer to use the textile formatting for this instead of adding slugs of raw html, however I have a couple of questions…

1. the textile tags for td and th seem to add, by default, the following when viewed as HTML:

style=“vertical-align:middle;”

Is there a way to disbale that? Ideally I’d like to replicate <tr valign=“top”> in textile if possible or failing that use <td valign=“top”> as they are still valid attributes in xhtml strict I believe.

2. Is the a way to replicate colspan=“2” for textile tables?

Thanks in advance!
Phil

Offline

#2 2009-09-16 16:47:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [textile] Using Textile for tables - Couple of questions

Offline

#3 2009-09-16 16:54:31

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: [textile] Using Textile for tables - Couple of questions

That’s great, exactly what I needed thanks. Did not know about that site.

Offline

Board footer

Powered by FluxBB