1
Good morning. I have two icons inside a table and I need them to be on the same line. When the page loads they are aligned:
But when I navigate to another tab and go back to that tab, the icons look like this:
Follow my code:
<td style="width:10%; max-height:20px">
<span class="glyphicon glyphicon-pencil btn blue-madison" data-toggle="tooltip" data-placement="top" title="Editar" style="float:left; position:static">
<a href="#" class="">
</a>
</span>
<span class="glyphicon glyphicon-trash btn red exclusao" data-toggle="tooltip" data-placement="top" title="Excluir" style="float: right; position: static">
<a href="#" class="">
</a>
</span>
What could I be doing wrong? or what I’m forgetting?
Grateful to those who help.
Gabriel, avoid using CSS inside the HTML elementl, try taking the style of
glyphicon-trash
– RFL
glyphicon-trash
appears to be a class that carries its own icone and perhaps other configurations relating to it.. I can only think that a clear:Both|left|rght is in the style of these glypcon (one or two)..– Ale