2

I have a html table cell with the following data:

<td>0/12 0%</td>

which shows like this:

http://img202.imageshack.us/img202/6008/captureuhe.jpg

what I want to do is move the % number (with the sign) to the most left side of the cell.

i.e: http://img441.imageshack.us/img441/1259/capture2ee.jpg

(don't mind the numbers)

How can I achive this? BTW, the entire table is with css direction: rtl.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
shaharmor
  • 1,636
  • 3
  • 14
  • 26

1 Answers1

1
<td><div class="right">0/12</div> <div class="left">0%</div></td>

CSS file:

.right{
position:relative;
margin:0;
padding:0;
float:right;
}
.left{
position:relative;
margin:0;
padding:0;
float:left;
}
Sergey Ratnikov
  • 1,296
  • 8
  • 12