Encore une fois tout est dans le titre !
code de la css :
code de ma page html :
quelqu'un pourrait me dire pkoi ça marche pas ?
merci
Modifié par PoichOU (12 Dec 2005 - 13:41)
code de la css :
.table {
border : 1px solid red;
}
.table td{
border-bottom : 1px solid black;
}
code de ma page html :
<html>
<head>
<link rel="stylesheet" href="./test3.css" type="text/css" media="screen" />
</head>
<body>
<table cellpadding="0" cellspacing="0" class="table" id="table">
<tr>
<td>1</td><td>1</td>
</tr>
<tr>
<td>2</td><td>2</td>
</tr>
<tr>
<td>3</td><td>3</td>
</tr>
<tr>
<td>4</td><td>4</td>
</tr>
<tr>
<td>5</td><td>5</td>
</tr>
<tr>
<td>6</td><td>6</td>
</tr>
</table>
<script type="text/javascript">
var tab = document.getElementById('table');
var listeLigne = tab.getElementsByTagName('TR');
var listeCell = listeLigne[listeLigne.length-1].getElementsByTagName('TD');
for(var i=0;i<listeCell.length;i++)
{
listeCell[ i].borderBottom='0px';
}
</script>
</body>
</html>
quelqu'un pourrait me dire pkoi ça marche pas ?

merci
Modifié par PoichOU (12 Dec 2005 - 13:41)