form{
    margin:0px;
    padding:0px;
}
label.error {
    vertical-align: top;
    display: inline-block;
    
    margin-left: 8px;
    padding: 2px 8px 2px 22px;
    border: 1px solid red;
    /*background-image: url( "/images/error.gif" );*/
    background-repeat: no-repeat;
    /*background-position: 3px 3px;*/
    color: red;
    /*height: 24px;*/
    background-color: #f7e7e7;
}


div.error {
    display: none;
}

input {
    border: 1px solid black;
}

input:focus {
    border: 1px dotted black;
}

input.error {
    border: 1px dotted red;
}

textarea {
    border: 1px solid black;
}

textarea:focus {
    border: 1px dotted black;
}

textarea.error {
    border: 1px dotted red;
}

select {
    border: 1px solid black;
}

select:focus {
    border: 1px dotted black;
}

select.error {
    border: 1px dotted red;
}


input[type='checkbox'] {
    border: 0;
}

input[type='radio'] {
    border: 0;
}

input {border:expression(this.type=="checkbox" || this.type=="radio" ? "0":"style"); }

