What can I do to make the employee's name horizontal and not vertical as shown in the image
Here is how I use it in td
Enter the content of <td>
in a <p style="white-space: nowrap;"></p>
In your case it would be like this
<td>
<p style="white-space: nowrap;">@item.EmpNombre @item.EmpApellido</p>
</td>
The white-space
property sets how the spaces within the tag will be treated. In this case we indicate nowrap
so that you do not insert line breaks in the testo when adjusting. For more information on how white-space works, visit the following link