Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-02-24 23:36:48
- jshan
- Member
- Registered: 2008-01-09
- Posts: 67
Need Clue: <txp: comment_message /> wrapping issue
Hi,
I use <div> to wrap comments. More precisely, here is what the comments form looks like:
<div class="commentInfo">
<span class="comment_author"><txp:comment_name /></span>
<span class="comment_time"><txp:comment_time /></span>
</div>
<div class="comment_body"><txp:comment_message /></div>
The effect is supposed to be like this: comment_name
float left; comment_time
float right; commentInfo
div has only border-bottom defined to devide between the author/time line and the comment body text below.
The problem is that no matter what I’ve tried, the comment_message
has too much “padding space” arround and I want to bring it CLOSER to the commentInfo
div above.
Here is a good example as to how I like the comments to display.
Anyone any idea please?
Offline
Re: Need Clue: <txp: comment_message /> wrapping issue
You probably have some spacing on p
elements. A quick test would be:
.comment_body p { margin: 0; padding: 0 }
Offline
#3 2009-02-25 21:27:07
- jshan
- Member
- Registered: 2008-01-09
- Posts: 67
Re: Need Clue: <txp: comment_message /> wrapping issue
yupdee-dupdee it’s fixed, just like you suggested. Thanks!
Offline