IE 10 Default Align TD Problem in HTM5

0 comments

IE 10 seems to center table cells that should be left aligned by default.

 

Remove your doctype which will set the page into quirks mode (please leave a comment specifying that you have removed your doctype specifically to set the page into quirks mode)

 

OR 


possibly use this code in your css

td{
    text-align:left;
}
 
td[align=right]{
    text-align:right;
}
 
td[align=center]{
    text-align:center;
}
 
table{
    margin-left: auto;
    margin-right: auto;
}

Comments


Leave a Comment