Wikipedia defines tableless as:
Tableless is a form of site development that does not use tables for content layout on the page suggested by the W3C, since it advocates that HTML codes should be used for the purpose they were created, and tables were created to display tabular data . For the layout of the page the recommended would be to use CSS.
One thing that always causes me headache is to do vertical alignment of elements. The more different elements on the same line, the more complication.
I have researched several solutions and a lot of them are 'half-mouth'. But there is one that I found quite satisfactory, it is the following:
.t{display:table;border:1px solid red;}
.td1,.td2{display:table-cell;vertical-align:middle;padding:10px;}
<div class="t">
<div class="tr">
<div class="td1"><img src="https://www.cdn.renault.com/content/dam/Renault/BR/personal-cars/duster-oroch/packshot/duster-oroch-lateral-passageiro.jpg.ximg.l_4_m.smart.jpg"></div><divclass="td2"><p>ESSE É O MEU CARRO</p></div>
</div>
</div>
But the above code only causes the divs to behave like a table ...
The code above disagrees with the concept of tableless?
Should I avoid this kind of implementation ???