0
Align text to center even with other images in line
I have a text and an image inside a <td> The image has float: right. When I try to give the text text-align: center, it doesn't work. How can I do it?
3 Answers
+ 1
apply text-align property on <td> instead on the text. it should work
+ 1
Si compartes tu codigo te podemos ayudar mejor, desde donde agregas el estilo, como propiedad en el html o con css externo.
+ 1
Example: https://code.sololearn.com/WFJw6DdDK8B4
Indicate to your table the width so that based on those references center your text.