On Tue, 24 Apr 2007, Patrick Aljord wrote:
> ok thanx, just realized that what I wanted was to display:
>
> (99) test
>
> instead of
>
> test (99)
I think you need to explain the context and purpose in more detail.
What should happen in rendering in general? That is, given arbitrary piece
of text as a <div> element content, how should the style sheet rule affect
its presentation?
If this is about swapping the order of two pieces of text, then there's no
way in CSS at present to do that without adding extra markup. Something
like the following would work if you wish to use directionality (which
might not be the easiest way):
<style type="text/css">
.swap { direction: rtl; unicode-bidi: bidi-override;
text-align: left; }
.l { direction: ltr; unicode-bidi: embed; }
</style>
...
<div class="swap"><span class="l">test</span>
<span class="l">(99)</span></div>
Here I set the direction to right to left, but the span elements have
internal, embedded direction from left to right
--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/