[pmwiki-users] CSS magic for right-aligned text on the same line? (progress-bar)
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Wed Jan 25 15:20:38 CST 2006
On Wed, 25 Jan 2006, Hans wrote:
> Wednesday, January 25, 2006, 6:32:54 PM, christian wrote:
> > * item 1 %rfloat% bla bla bla %%
> > * item 2 %rfloat% bla bla bla %%
>
> try (see the test page http://www.pmwiki.org/wiki/Test/Float )
>
> %rfloat% bla bla bla %%
> * Item 1[[<<]]
> %rfloat% bla bla bla %%
> * Item 2
>
> always put the floated object before the normal one.
> use the [[<<]] clearall to make the second float go below.
>
> but then a table might be better in your case...
Thanks for the help, but some more browsing and fiddling meant that I've
improved the situation using 'clear:both;'. At least it looks ok to me
now using Opera (in both the normal view and in the print preview)
http://wiki.lyx.org/test/wiki/pmwiki.php/Test/ProgressBarTest3
(I hope it looks ok in IE, I'm on Linux so I can't test that)
I do have a question though... does any of you know a HTML character that
is like a filled space? Or rather, the opposite of a space. There is one
in the extended ASCII character set (n:o 219), but I'm not able to find
the equivalent in HTML :-(
I'd like to use this 'fill' or 'block' character to make the bar become
solid. Right now I'm just using a normal space with the background set to
black, but that doesn't show up properly in all browsers when I print.
I'm thinking of using a <hr> for generating the bar, but it seems neat to
just use plain characters...
/C
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list