/* 提示框 */
.MessageBox .msg{
height:90px;
}
.MessageBox .msg .left{
width:20px;
background:url('images/message_center_bg.png') left top repeat-y;
}
.MessageBox .msg .center{
padding-left:90px;
font-size:16px;
background-color:#7bafe6;
}
.MessageBox .msg .center .msg-content{
color:#fff;
margin:20px 12px 20px 6px;
}
.MessageBox .msg .right{
width:20px;
background:url('images/message_center_bg.png') right top repeat-y;
}
.MessageBox .msg .error{
background-image:url("images/icon64_error.png");
background-position:0px 10px;
background-repeat:no-repeat;
}
.MessageBox .msg .info{
background-image:url("images/icon64_info.png");
background-position:0px 10px;
background-repeat:no-repeat;
}
.MessageBox .msg .warning{
background-image:url("images/icon64_warning.png");
background-position:0px 10px;
background-repeat:no-repeat;
}
.MessageBox .msg .forbidden{
background-image:url("images/icon64_forbidden.png");
background-position:0px 10px;
background-repeat:no-repeat;
}
.MessageBox .msg .stop{
background-image:url("images/icon64_stop.png");
background-position:0px 10px;
background-repeat:no-repeat;
}
.MessageBox .msg .blank{
height:40px;
padding:10px 20px 10px 20px;
text-align:center;
}
需要用到的图片如下:
这是message_bg.png
这是message_center_bg.png
求大神帮我~明天就要开会演示了,我是.NET开发人员,对样式实在是外行。。
似乎这跟HTML标准有关,现在项目里母版页统一的是:
<!DOCTYPE html>
将表格的边框、边距、间距都设置为0,即:
<table border="0" cellpadding="0" cellspacing="0">
.MessageBox{ border-collapse:collapse;}