how to remove CSS default class
This is my div
This is my css class
#messageContai
You are not defining a css class in your example, you are using the selector for the id.
to use a class your code would be like:
and in your stylesheet or between style tags you would have
.messageContainer{
height:26px;
color:#FFFFFF;
BACKGROUND-COLOR: #6af;
VERTICAL-ALIGN: middle;
TEXT-ALIGN: center;
PADDING-TOP:6px;
}
then, using jquery you could remove this class by doing
$('#messageContainer').removeClass('messageContainer');