I am using jQuery. I have a div containing a table. I have 4 rows in a table, each with one column. Each line contains a line or two texts
I want to make each line with height = 100 px and have text horizontally and vertically.
Can this be done?
If you want the text in each cell of the table to be aligned vertically and horizontally, you can use CSS.
table td { height: 100px; text-align: center; vertical-align: middle; }
See how it works.
very simple:
text-align: center; vertical-align: middle:
Source: https://habr.com/ru/post/1770109/More articles:The -D option is incorrectly expanded from the g ++ command line - c ++How to programmatically exit pdb running in eval () or exec () without displaying output - pythonIs it possible and safe to add an ENUM value to an SQL database column type? - enumsJSON.NET for .NETCF 2.0 - json.netmysql matches query - phpHow to link data coming from a dataset to a header in rdlc reports? - rdlcHow to create an ASP.NET website to search for MLS or IDX lists? - c #horizontal and vertical alignment of a label in a div in a table row - jqueryThe property should only be set using Serializer - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1770114/how-to-add-an-html-class-to-a-php-script&usg=ALkJrhgaehUAFlbCAbLmCZZDUlIC0jaUoQAll Articles