/***------------此效果为表格隐藏数据后显示....-------------***/
//表格
.carhome .shortMessage{
margin-left:10px;
width:600px;
table-layout: fixed;
}
//title,自己设置
.carhome .shortMessage .title{
height:30px;
color:#050357;
font-weight:bold;
line-height:20px;
border-bottom:1px #8F8F8F solid;
}
//表格的td
.carhome .shortMessage td{
height:30px;
line-height:30px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
//给表格添加横线border-top
.EwRecordComponent .bottomborder{
height:37px;
line-height:37px;
border-top:1px #8F8F8F solid;
text-align:right;
}
用div取代表格:
<div id='VehicleBandPanel' style="width:500px; line-height:35px;;">
<div style="text-indent:10%;">当前车牌(粤A23456)绑定的会员帐号为:aaaaa</div>
<div style="text-indent:15%;">如需修改请输入以下信息:</div>
<div align="center" style="width:70%">
<div align="right">需绑定的会员帐号:<input type="text"></div>
<div align="right">登录密码::<input type="text"></div>
</div>
<div align="center" style=" padding-top:10px;"><input type="button" value="确定"> <input type="button" value="取消"/></div>
</div>