flaviokowalske 0 Posted November 15, 2020 Report Share Posted November 15, 2020 Com fazer uma quebra de linha ta THEAD da tabela abaixo usando Bootstrap? <table class="table table-hover table-bordered p-0 m-0 table-sm"> <thead class="table-warning"> <tr> <th scope="col" class="text-center"><strong><small>Consumo dia (L)</small></strong></th> <th scope="col" class="text-center"><strong><small>Consumo noite (L)</small></strong></th> <th scope="col" class="text-center"><strong><small>Consumo médio (L)</small></strong></th> <th scope="col" class="text-center"><strong><small>Consumo total (L)</small></strong></th> </tr> </thead> <tbody> <tr> <td class="text-center align-bottom"><small><em>1000</em></small></td> <td class="text-center align-bottom"><small><em>2000</em></small></td> <td class="text-center align-bottom"><small><em>1500</em></small></td> <td class="text-center align-bottom"><small><em>3000</em></small></td> </tr> </tbody> </table> Quote Link to post Share on other sites
1 wash 0 Posted November 25, 2020 Report Share Posted November 25, 2020 Moleza! Quebra de linha se faz com a tag <br> (break rule) Quote Link to post Share on other sites
0 wash 0 Posted November 16, 2020 Report Share Posted November 16, 2020 (edited) Olá! Cada linha(aquilo que contém as células) em uma tabela é gerada por <tr> table rule (linha de tabela) Logo, uma thead com duas linhas seria: <thead> <tr>...</tr> // linha 1 <tr>...</tr> // linha 2 </thead> Edited November 16, 2020 by wash Quote Link to post Share on other sites
0 flaviokowalske 0 Posted November 25, 2020 Author Report Share Posted November 25, 2020 Em 16/11/2020 em 12:49, wash disse: Olá! Cada linha(aquilo que contém as células) em uma tabela é gerada por <tr> table rule (linha de tabela) Logo, uma thead com duas linhas seria: <thead> <tr>...</tr> // linha 1 <tr>...</tr> // linha 2 </thead> Na verdade preciso quebrar o texto dentro da célula. Quote Link to post Share on other sites
Question
flaviokowalske 0
Com fazer uma quebra de linha ta THEAD da tabela abaixo usando Bootstrap?
Link to post
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.