[pmwiki-users] wiki style (or span-element) with a minimu width

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Tue Apr 11 07:33:39 CDT 2006


On Tue, 11 Apr 2006, Patrick R. Michaud wrote:

> On Tue, Apr 11, 2006 at 02:17:57PM +0200, christian.ridderstrom at gmail.com wrote:
> > I'd like to be able to create a wiki style that has a certain minimum 
> > width... it'd be great for when writing things like this:
> > 
> > * %w%Hello%%      - English
> > * %w%Hej%%        - Swedish
> > * %w%Guten Abend% - German
> > 
> > where I'd like the language align up horizonally most of the time. (It 
> > doesn't have to be correct all the time!).
> > 
> > I tried it here:
> > 	http://www.pmwiki.org/wiki/Test/ItemListWithHorizontalSpace
> > 
> > but it doesn't work... can a span element not have a certain width?
> 
> Apparently not.

I just got it to work by making it float... However, I'm not sure it's a
great idea to float the text. Have a look here for the result:

 	http://www.pmwiki.org/wiki/Test/ItemListWithHorizontalSpace

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list