Bonjour, je débute en css et j'essaye d'enlever les tableaux de mon site.
J'ai un tableau de ce style :
J'ai essayer comme ca mais ce n'est pas top
Avec comme css :
Voilà, si vous pouviez m'aider parce que je sèche un peu
, c'est le "rowspan" qui me gène.
Merci !
J'ai un tableau de ce style :
<table width="100%" border="10" height="0" cols="2" cellpadding="0" cellspacing="0">
<tr><td>hjfh</td><td rowspan="2">test</td></tr>
<tr><td>hjfh</td></tr>
</table>
J'ai essayer comme ca mais ce n'est pas top
<span class="1_2">test ligne 1 et 2</span>
<div class="1">test ligne 1</div>
<div class="2">test ligne 2</div>
Avec comme css :
.1 {
BACKGROUND-COLOR: #C0D0A1;
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
TEXT-DECORATION: none;
text-align: center;
padding: 5px;
height: 15px;
margin-left: 25;
margin-right: 125;
border:1px solid #000;
}
.2 {
BACKGROUND-COLOR: #ECE9D8;
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
TEXT-DECORATION: none;
text-align: center;
padding: 5px;
height: 15px;
border-left:1px solid #000;
border-bottom:1px solid #000;
border-right:1px solid #000;
margin-left: 25;
margin-right: 125;
}
.1_2 {
background-color: #ffff00;
float: right;
border-right:1px solid #000;
border-top:1px solid #000;
border-bottom:1px solid #000;
width: 100px;
height: 50px;
margin-right: 25;
align: middle;
}
Voilà, si vous pouviez m'aider parce que je sèche un peu

Merci !