how can i program a span with text that has a textbox-like behaviour?
what i exactly want is: a span with a unchangeable size, text align isleft, but ifthe text is longer than the span width, text lign changes to right,overflow is hidden.
heres what i got:
<span style="width: 250px; height: 30px; overflow:hidden;">example text</span>
of course this only makes sense if the example text is changeable somehow. is away to archieve this change of align without javascript? pure html and css?
thx