morning
i can't get the input-validation-error css to work when i have a class already for the input box.
<%=Html.TextBox("FirstName", null, new { @Class = "text" })%> <%=Html.ValidationMessage("FirstName", new { @style = "color: red;", @Class = "errorInValid" })%>
if i take out new { @Class = "text" } then
.input-validation-error { border: 1px solid #ff0000 !important; background-color: red !important; }
The above CSS works.
Help
regards, pete
thanks in advance (i am crap at CSS)