Is it possible to create a ranking system that adjusts based on the user's points while maintaining consistent height with an image? How can I eliminate the br
tags in this scenario?
<!DOCTYPE html>
<html lang="en>"
<head>
<meta charset="UTF-8>"
<title>Document</title>
</head>
<body>
<style>
.parent {
display: table;
}
.child {
display: table-cell;
vertical-align: middle;
padding-left: 20px;
}
</style>
<div class="parent">
<div class="child">
Test
</div>
<div class="child">
Test Test Test <br/> Test Test Test
</div>
<div class="child">
Test Test Test<br/> Test Test Test<br/> Test Test Test
</div>
<div class="child">
Test Test Test<br/> Test Test Test<br/> Test Test Test<br/> Test Test Test
</div>
<div class="child">
Test Test Test<br/> Test Test Test<br/> Test Test Test<br/> Test Test Test<br/> Test Test Test
</div>
</div>
</body>
</html>