Jump to content

[Resolvido] Table Border


PF2G

Recommended Posts

Bom dia,

Eu estou a tentar fazer uma tabela com um border nas rows e nas columns, mas nao estou a conseguir.

Neste momento tenho este codigo:

style.css

/*************************/
.bands
{
width:95%;
border:1px solid #000000;
padding:10px 10px 10px 10px;
margin-left:10px;
}
/************************/

tabela

<table class="bands">
<thead>
 <tr>
  <td>Nome da Banda</td>
  <td>Estilo</td>
  <td>Atividade</td>
  <td>Line Up Atual</td>
  <td>Line Up Tour</td>
  <td>Ex-Membros</td>
  <td>Linguagem</td>
 </tr>
</thead>

<tbody>

</tbody>
  </table>

Sei que não é assim, mas também ja tentei por border no td só que fica tudo separado, entao usei o

border-collapse:collapse;

e não aconteceu nada, será que alguem me pode ajudar, sff?

Obrigado,

PF2G

Edited by PF2G
Link to comment
Share on other sites

css para retirar o espaçamento entre as células de uma tabela

border-spacing: 0px;

segunda solução:

pegas na tabela, metes dentro de uma caixinha em pequena, e envias para a antártica.

abres um browser, segues para o www.google.com e pesquisas por "html div"

IRC : sim, é algo que ainda existe >> #p@p
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.