* {margin:0; padding:0}
body {font:12px;}
#msgwrapper {width:300px; margin:50px auto}
.form {float:left; padding:0 10px 10px 10px; background:#f3f3f3; border:2px solid #cfcfcf}
.form label {float:left; width:100px; padding:10px 10px 0 0; font-weight:bold}
.form select {float:left; width:146px; margin-top:10px}
.form input {float:left; margin-top:10px}
.form .submit {clear:both}
#msg {
    display: none;
    padding-left: 7px;
    position: absolute;
    z-index: 200;
}
#msgcontent{
    background:#ff0000 none repeat scroll 0 0;
    border-left:medium none;
    color:#ffffff;
    display:block;
    font:bold 12px Arial;
    min-width:200px;
    padding:8px 5px;
}
#msgcontent::before {
    border-color:rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ff0000;
    border-image:none;
    border-style:solid;
    border-width:10px;
    content:"";
    height:1px;
    left:7px;
    position:absolute;
    top:-21px;
    width:1px;
}