Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-03 06:59:47

Catalyst
Member
From: Yorkshire UK
Registered: 2005-07-30
Posts: 23
Website

No line breaks happening in comments

This is just a minor problem but annoying enough to be getting on my nerves.

In my comments if I type a sentence such as the following:

This is a sentence and then I am going to leave a line…

It looks like this in the textbox.

————————————————————————

This is a sentence and then I am going to leave a line…
But when the comment is submitted the line break disappears.

————————————————————————

Can anyone explain what I am doing wrong? Thanks for any advice.

Site: http://erraticsouls.com

Last edited by Catalyst (2006-06-03 07:00:49)

Offline

#2 2006-06-03 07:53:37

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: No line breaks happening in comments

I think you need to add margin-top and margin-bottom to the “p” tags in your css specifically for the comments so something like:-

<code>ol.comments li p {
margin-top:10px;
margin-bottom:10px;
}</code>


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2006-06-03 09:39:26

Catalyst
Member
From: Yorkshire UK
Registered: 2005-07-30
Posts: 23
Website

Re: No line breaks happening in comments

Thank you Stuart. That seems to have done the trick.

Offline

Board footer

Powered by FluxBB