Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
Re: No line breaks happening in comments
Thank you Stuart. That seems to have done the trick.
Offline
Pages: 1