需要分成三张小图,两头两张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;}
最终效果