Metro-UI-CSS icon indicating copy to clipboard operation
Metro-UI-CSS copied to clipboard

Table Layout question

Open revdanielc opened this issue 4 years ago • 2 comments
trafficstars

How do I VERTICALLY align text in a table cell? I tried the .va-top class in the TD and it got stripped out. I tried a style="vertical-align: top" and it got stripped out. I don't see a data tag to handle it.

Second, is there a "best practices" for using nested tables (a table within a table cell)?

(By the way, I am using data-role="table". Perhaps the best way is to just remove this?)

revdanielc avatar Aug 16 '21 14:08 revdanielc

Thanks for opening a new issue. The author has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/olton/Metro-UI-CSS or Patreon

xscode-auto-reply[bot] avatar Aug 16 '21 14:08 xscode-auto-reply[bot]

For the first question, I use va-top or va-middle in TD. Ex:

https://codepen.io/TorakikiSan/pen/EeyWmp?editors=1111

and this work for me!

TorakikiSan avatar Aug 20 '21 09:08 TorakikiSan