CSS is defaulting to input[type=”text”] style. How can I make the .wideTextBox take precedence?
@Html.TextBoxFor(model => model.ConsumerBatchInVM.OptInSmsMessage, new { @class = "wideTextBox" })
.wideTextBox
{
width: 400px;
}
input[type="text"]
{
width: 300px;
border: 1px solid #CCC;
}

You could do:
That is, swap the order and change
.wideTextBoxtoinput.wideTextBox.Swapping the order alone won’t work, and neither will
input.wideTextBoxalone.More information on CSS specificity: http://css-tricks.com/855-specifics-on-css-specificity/
A specificity calculator: http://www.suzyit.com/tools/specificity.php