CSS固定宽度li,固定跨度

时间:2012-08-27 19:39:41

标签: html css

我在这里写了问题:CSS fixed width in span

并且只有'text-align:right;'才能解决问题。但现在:

                 The lazy dog.
ANDDDDDDDDDDDDDD The lazy cat.
              OR The active goldfish.

如果我有很长的权利:

                 The lazy dog.
ANDDDDDDDDDDDDDD The lazy cat lazy cat lazy cat lazy cat
very lazy cat lazy cat very.
              OR The active goldfish.

这真的是问题,我需要bcz:

                 The lazy dog.
ANDDDDDDDDDDDDDD The lazy cat lazy cat lazy cat lazy cat
                 very lazy cat lazy cat very.
              OR The active goldfish.

那么,是否可以使用span& ul-li?

以下是示例:http://jsfiddle.net/gBdMf/

1 个答案:

答案 0 :(得分:1)