Problemer med HTML
Hej,Jeg sidder og laver lidt HTML og leger lidt med noget rowspan og colspan.. det driller bare af helvede til..
Jeg har lavet min kode:
<html>
<head>
<link rel="stylesheet" type="text/css" href="/_global/css/ringlee.css"></link>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" style="width:750px;height:100%">
<tr>
<td style="width:50px;"></td>
<td class="sitebg"></td>
<td>
<table cellpadding="0" cellspacing="0" border="0" style="width:100%px;height:100%">
<tr height="22">
<td id="top" height="22">1</td>
<td rowspan="2" id="top_cen">2</td>
<td rowspan="2" id="top_pic">3</td>
</tr>
<tr height="61">
<td>4</td>
</tr>
<tr height="31">
<td>7</td>
<td colspan="2" id="top_men">8</td>
</tr>
<tr>
<td>sd</td>
<td>sd</td>
<td>sd</td>
</tr>
</table>
</td>
<td class="sitebg"></td>
</tr>
</table>
</body>
</html>
Og så har jeg mit stylesheet:
body {
background:url('/_gfx/bg.jpg');
margin:0px;
padding:0px;
}
.sitebg {
width:1px;
background:url('/_gfx/sitebg.jpg');
}
#top {
width:234px;
height:22px;
background:url('/_gfx/top_blue_1.jpg');
}
#top_cen {
width:250px;
height:83px;
background:url('/_gfx/top_blue_cen.jpg');
}
#top_pic {
width:264px;
height:83px;
background:url('/_gfx/top_blue_pic.jpg');
}
#top_logo {
width:234px;
height:92px;
background:url('/_gfx/top_lef.jpg');
}
#top_men {
width:514px;
height:31px;
background:url('/_gfx/top_men.jpg');
}
Mit spørgsmål er at jeg skal have slået 4 og 7 sammen med en rowspan.. men når jeg gør det, så fucker den det hele op...
Hvorfor ?
