Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-24 09:46:54

roelof
Member
Registered: 2005-03-27
Posts: 647

<p> tag without the extra space

Hello,

In my site i see that links are wrapped in a <p> tag.
That’s no problem for me.
But the problem is that now between the links is a extra whitespace.
What do i have to change in css to get rid of it and get the same “layout” as here.

Regards,

Roelof

Offline

#2 2006-03-24 12:20:44

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: <p> tag without the extra space

Are you talking about links displayed with the <txp:linklist /> tag? See the docs.


Alex

Offline

#3 2006-03-24 12:41:48

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: <p> tag without the extra space

Thank you for your hint.
But it doesn’t solve my problem.

My code is now :
<code>
<div id=“sidebar-1”>
<txp:rss_suparchive section=“article” dateformat=“F Y” showsubdate=“1” form=“datum” />
<txp:linklist form=“Links” category=“textpattern” wraptag=“ul” break=“li”/>
</div>
</code>

And if o look at my page the source looks like :
<code>
<div id=“sidebar-1”>
<div class=“rssMonth”>september</div>
<div class=“rssDay”>01
<a href=“http://test.tamarawobben.nl/even-voorstellen” title=“Permanente link naar dit artikel”>Even voorstellen</a></div>

<ul class=“linklist”><li><p><a href=”/contact”>Contact</a><br />
</p></li></ul>
</div>
</code>

Still the <code> <p> </code>tag shows up.

Roelof

Last edited by roelof (2006-03-24 12:42:32)

Offline

#4 2006-03-24 17:26:32

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: <p> tag without the extra space

The <p> tags must be in your links form.

Offline

Board footer

Powered by FluxBB