Created
April 19, 2010 15:51
-
-
Save MarkBorcherding/371193 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Which way would would you expect this to render? --> | |
| <%= Html.TextBoxFor(x=>x.CustomerTelephone, new {style="width:240px !important"}) %> | |
| A) <input type="text" id="CustomerTelephone" style="width:240px !important" /> | |
| B) <input type="text" id="CustomerTelephone" style="width:240px ! important" /> | |
| <!-- Hint: It's not the way that generates valid CSS! --> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK...I retract. It was Firebug sillyness that caused it to display funny...I still don't like HTML helpers though. :)