开发者

Arrange container content positioning

I have small container with the users name aligned all the way to the left, and as the name becomes larger i want the text to开发者_StackOverflow move the left therefore taking up empty space. How can i do this.

What i have right now:

.namelist {
 margin-left:300px;
 }


Let me know if this helps

.namelist {
    width: 100%;
    text-align: right;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜