Salve,
ho questo codice:
<html>
<head>
<style>
.table {
width: 100%;
height: 35px;
background: black;
}
.td {
height: 35px;
padding-left: 15px;
padding-right: 15px;
width: ??????;
}
</style>
</head>
<body>
<table class="table">
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
</table>
</body>
</html>
Ora vorrei che tutti i "td" della tabella si allargassero quanto piu possono per tutta la tabella ma avendo tutti la stessa larghezza padding compreso!
Come posso fare?
Grazie a tutti
ho questo codice:
<html>
<head>
<style>
.table {
width: 100%;
height: 35px;
background: black;
}
.td {
height: 35px;
padding-left: 15px;
padding-right: 15px;
width: ??????;
}
</style>
</head>
<body>
<table class="table">
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
<td cass="td">Elemento 1</td>
</table>
</body>
</html>
Ora vorrei che tutti i "td" della tabella si allargassero quanto piu possono per tutta la tabella ma avendo tutti la stessa larghezza padding compreso!
Come posso fare?
Grazie a tutti