I am looking to insert the align attribute for centering column data. I have several lines that are similar in composition to this:
tdHtml = tdHtml + "<td style=\"width:42px;\">" + PriorityFormat($(this).attr("ows_Priority_x0020_Number")); + "</td>";
Is this doable?
Thanks!
align
is deprecated.. you should usetext-align:center
. Just add this style along with thewidth
style."<td style=\"width:42px;text-align:center \">"
"<td style='width:42px;text-align:center'>"