My code that has the problem is this:
html:
<body>
<table class="default_grid">
<thead>
<tr>
<th class="opcao1">Opção 1</th>
<th class="opcao2">Opção 2</th>
</tr>
</thead>
</table>
</body>
css:
{
background-color: aliceblue;
}
.default_grid {
text-align: left;
width: 600px;
color: white;
}
.default_grid .opcao1 {
background-color: purple;
}
.default_grid .opcao2 {
background-color: orange;
}
The problem appears in internet explorer, the testo is centralized, not aligned on the left, how to solve this?
{
background-color: aliceblue;
}
.default_grid {
text-align: left;
width: 600px;
color: white;
}
.default_grid .opcao1 {
background-color: purple;
}
.default_grid .opcao2 {
background-color: orange;
}
<body>
<table class="default_grid">
<thead>
<tr>
<th class="opcao1">Opção 1</th>
<th class="opcao2">Opção 2</th>
</tr>
</thead>
</table>
</body>