Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-02 16:58:44

ChrisArchitect
Member
From: Canada
Registered: 2007-06-20
Posts: 25

[textile] linebreaks to control paragraph spacing?

Hi all,

With Textile enabled, placing some space between paragraphs is proving difficult. What is the recommended way of doing this in an article

i.e.
Paragraph1

(spacing)

Paragraph2

In Textile/TXP this will output simply

Paragraph1

Paragraph2

instead of the intended multiple linebreaks between ….

Should this be totally controlled with CSS or what?

Thanks for any suggestions

Offline

#2 2009-02-02 17:29:48

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [textile] linebreaks to control paragraph spacing?

Ideally, this should be done using CSS.
Something like this:

p {
    margin-bottom: 10px;
}

should do the work (of course, this rule applies to all paragraphs in your site, so you may want to create a more specific rule.

There are other dirty ways to do it not using CSS, but I prefer not to tell them, if possible.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB