olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7k stars 1.97k forks source link

Table Layout question #1817

Open revdanielc opened 2 years ago

revdanielc commented 2 years ago

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?)

xscode-auto-reply[bot] commented 2 years ago

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

TorakikiSan commented 2 years ago

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!