标题背景圆角 随意宽度

需要分成三张小图,两头两张JPG,必须是JPG,中间随意

<div class="Msg_T">
    <div class="Msg_TL"></div>
    <div class="Msg_TC">收件人列表</div>
    <div class="Msg_TR"></div>
</div>
.Msg_T {width: 100%; height: 42px; background: url(../images/T_2.png) repeat-x;}
.Msg_TL,.Msg_TR {width: 5%; height: 42px; float: left;}
.Msg_TC {width: 90%; line-height: 42px; font-size: 16px; color: #fff; float: left;}
.Msg_TL {background: url(../images/T_1.jpg) no-repeat top left;}
.Msg_TR {background: url(../images/T_2.jpg) no-repeat top right;}

最终效果

posted @ 2015-09-14 14:01  请叫我七哥  阅读(159)  评论(0编辑  收藏  举报