Use of td and tr

1

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

    
asked by Marco Eufragio 17.10.2018 в 17:05
source

1 answer

4

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

    
answered by 18.10.2018 / 08:03
source