Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-05-24 20:03:13

progre55
Member
Registered: 2006-05-02
Posts: 668

Table Inside of an Article

Before anyone comments, I know there is a better way of delivering the content :), but for this case I needed to place a table inside of an article. That was easy.

The problem is that Textpattern is placing <p></p>, as well as multiple <br> before the actual table. So I get a large space before the table.

If anyone can asisst I would appreciate it.

Thank you in advance.

progre55

Offline

#2 2010-05-24 20:37:57

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Table Inside of an Article

You most likely need to turn off Textile for the article. This TXP Tip explains the various methods for doing so.

Offline

#3 2010-05-24 20:41:40

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Table Inside of an Article

Thank you – that did the trick.

Offline

#4 2010-05-24 23:00:33

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Table Inside of an Article

??? What was the original code which produces paragraphs and line breaks?

hello there

|_. a|_. table|_. header|
|a|table|row|
|a|table|row|

works pretty fine

If I copy & paste the resulting code, put it back and check the resulting HTML rendering it stays clean.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

Board footer

Powered by FluxBB