Issue
I have this HTML code:
<td align="center">
and I'm getting this error in Visual Studio 2008 from ReSharper:
"Element '
align
' is obsolete or nonstandard"
What is the replacement of this code to make it standard?
Solution
You should use text-align
in CSS rather than using the obsolete html styling attributes.
td{
text-align:center;
}
Answered By - Jamie Dixon
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.