Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-01 15:25:45

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

CSS Problem display:inline not work ??

I cannot for the life of me get display:inline to work.

http://www.closetohomevt.com/index.php

scenario

I am using a form with <code><li><txp:body /></li></code> in this

<code><ul id=“linksie”><txp:article_custom form=“homethumb” limit=“5” section=“home” sortby=“Posted” sortdir=“asc” /></ul></code>

I have tried applying the display:inline with classes applied to the li element i have also tried direct application with style=“display:inline” but it does not work any advice on how to apply the articles in a horizontal format would be greatly appreciated.


Grrr RRR nnndth grrr Skeek!

Offline

#2 2006-09-01 16:44:04

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: CSS Problem display:inline not work ??

I think I figured out why it is not working and it has to do with the paragraph tags the body tag builds around each individual element.

is it possible to do wraptag=“none” or turn off the formatting for this section?


Grrr RRR nnndth grrr Skeek!

Offline

#3 2006-09-01 17:43:01

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

Re: CSS Problem display:inline not work ??

There is a plugin, etz_striptags, but it strips all tags, not only the paragraphs. Don’t know if you could use that?

Offline

#4 2006-09-01 20:12:44

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: CSS Problem display:inline not work ??

I tried the plugin and it did strip all html tags, but a few too many. I was able to find a work around by turning textile off for the given articles, don’t know why I didn’t think of that sooner. But thanks once again for your help Els!!


Grrr RRR nnndth grrr Skeek!

Offline

Board footer

Powered by FluxBB