I’m studying asp.net mvc 3 (using Razor).
One of my *.cshtml views has the following code:
<p align="center">
<input class="actionButtons" type="submit" value="Complete order" />
</p>
The VS2010 C# compiler shows me a “XHTML1.0 Transitional” check message (not an error, not a warning), saying that align attribute is supposed to be deprecated, and a new construction is recommended.
What is that construction?
I think it means
"text-align:center". Or other way isstyle="margin-left:auto; margin-right:auto;"