Spaces in guestbook entries?!?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jmansa
Forum Members
Forum Members
Posts: 126
Joined: Thu Oct 19, 2006 2:46 pm

Spaces in guestbook entries?!?

Post by jmansa »

I have just installed Guestbook 1.1.9 and it works fine but... When showing the guestbook entries there is a to big spacing between the entries??? How do I solve this?
Entrylist Template

Code: Select all

{if $paginate.total > 0}

{if $paginate.total > $paginate.limit}
	
		{paginate_prev text=$prev_text} {paginate_middle} {paginate_next text=$next_text}<br>
	
{/if}
{foreach from=$entries item=entry}
<br><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="18" valign="top" bgcolor="#cccccc"><strong>{$entry.sender}</strong> {if $entry.country}({$entry.country}){/if}</td>
  </tr>
  <tr>
    <td>{$entry.message} </td>
  </tr>
</table>
{/foreach}
{/if}
This is the outcome!
< prev [1-5] [6-9]

e er (rt ytry rty tr yrty)
rt yr ytry rt yrty rt yrt

 

eigrwuy y (eru tewuyt)
werf weg weuyr weur tewur t

 

eg tgtg (rt tr r)
rt yrty rtytry rty rty r

 

wr ruiyiu y (Danmark)
tyh rtwy wtry rwty rt ywre

Hope the is help to get!!!
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Spaces in guestbook entries?!?

Post by Dee »

Did you attach the "Guestbook (default/example stylesheet)" stylesheet to the template used by your Guestbook page?
It has

Code: Select all

/* Style each entry */
.cms-guestbook-entry
{
	border: 1px solid #069;
	margin-bottom: 1em;
}
which shouldn't leave too big a gap.

Regards,
D
jmansa
Forum Members
Forum Members
Posts: 126
Joined: Thu Oct 19, 2006 2:46 pm

Re: Spaces in guestbook entries?!?

Post by jmansa »

Thanks alot. Yes, I have forgot to attach the stylesheet, but it still didnt help... It looks like it inserts a infront of the message... How do I get rid of that?
Test1  (DK)This is test 1....
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Spaces in guestbook entries?!?

Post by Dee »

jmansa wrote: It looks like it inserts a infront of the message... How do I get rid of that?
FCKEditor adds those, you can't get rid of them.
You can get rid of the space by adding this to your Guestbook stylesheet:

Code: Select all

.cms-guestbook-entry p
{
       margin: 0;
}
Regards,
D
Post Reply

Return to “Modules/Add-Ons”