Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
txp:comment_message question
My comments are always wrapped in p tag. I just wanted to know is this normal, or am I missing something.
I am not asking about ol or div that is ok, and everything is working, but for instance, I got this on my web site:
<ol class=“comments”>
<li class=“commEntries”><p>Some comments text<br />
Marko</p>
<p>Posted by: Mark on 2007-12-25 21:14</p>
</li>
<li class=“commEntries”><p>Some comments text</p>
<p>Posted by: Alesandar on 2007-12-26 19:30</p>
</li>
</ol>
So, this p after li is that the usual behavior of comment_message tag?
Last edited by AndrijaM (2007-12-27 14:30:56)
Offline
Offline
Re: txp:comment_message question
Thank you, I just tought that I dont need this p inside li to style the text, but ok. Thanks again.
Offline
Re: txp:comment_message question
AndrijaM wrote:
Thank you, I just tought that I dont need this p inside li to style the text, but ok. Thanks again.
If you have a comment with two paragraphs, you need it ;).
Offline
Re: txp:comment_message question
Is there a way to style that p tag so that if a border is added to the li tag the number border doesn’t go over the number.
I wouldn’t assume that a p tag is always needed somewhere. it’s better to offer that choice, IMHO.
Offline
Re: txp:comment_message question
li { list-style-position: inside }
or
p { margin: 0 0 0 1em /*or npx */ }
Offline
Pages: 1