Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-12-29 03:47:00

ryancecilsmith
Member
Registered: 2008-07-17
Posts: 26
Website

Paragraph left, paragraph right, paragraph left

Hi everyone,

I have a question that might be a CSS or a Textile issue. I’m writing an article that contains paragraphs aligned to the right AND left (usually for having a picture on the left, and the text on the right). Unfortunately, if my second (text) paragraph isn’t long enough to clear the picture, the next left-aligned picture starts in the middle of the column, left of the first picture. How can I force a paragraph to start below both of the previous paragraphs? I haven’t figured out how to create paragraphs to fill the space.

I hope I’m explaining this clearly. My apologies if this is a super fundamental thing that I’m missing, but I thank you for any advice or for pointing me in the right direction.

Offline

#2 2010-12-29 07:52:59

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,071
Website GitHub Mastodon Twitter

Re: Paragraph left, paragraph right, paragraph left

ryancecilsmith wrote:

How can I force a paragraph to start below both of the previous paragraphs? I haven’t figured out how to create paragraphs to fill the space.

Hi Ryan

In your css add .clearboth: {clear:both} and if you are using textile start the paragraph with a p(clearboth).

ie

p(clearboth). This is the beginning of a cleared paragraph.

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2010-12-29 12:53:20

ryancecilsmith
Member
Registered: 2008-07-17
Posts: 26
Website

Re: Paragraph left, paragraph right, paragraph left

Thanks very much! That really does the trick. :) !

Offline

Board footer

Powered by FluxBB