I have this html code

<table style="font-size:10px"> <tr> <td style="border:1px solid;padding:0">XXX <svg style="vertical-align:middle" width=20px height=20px viewBox="0 0 80 80"><circle cx=40 cy=40 r=40 /></svg> <td style="border:1px solid;padding:0">XXX </table>

first XXX is one pixel higher then second. Is it possible to align text like the second XXX? Although I am able to align it correctly, for example with position:absolute for svg, I would like to use this simple way above.

lktr's user avatar

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.