开发者

Arrange container content positioning

开发者 https://www.devze.com 2023-02-28 22:26 出处:网络
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 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

精彩评论

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