Hjælp...!!

Tags:    html css

Hej....

Jeg har en kode der ser sådan her ud (ganske enkelt..)

<html>
<head>
</head>

<body bgcolor="#CCCCCC" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" cellspacing="0" cellpadding="0" height="100%" align="center" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#000000" width="1">
<img src="pixel_zwart.gif" width="1" height="1"></td>
<td width="758" align="left" valign="top">
<table width="758" border="0" cellspacing="0" cellpadding="0" height="100%" bgcolor="#FFFFFF">
<tr>
<td height="271" align="left" valign="top">
<table width="758" border="0" cellspacing="0" cellpadding="0" height="271">
<tr>
<td height="263" width="758" align="left" valign="top">
 </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top">
 </td>
</tr>
</table>
</td>
<td bgcolor="#000000" width="1">

</tr>
</table>
<p align="center"> </p>
</body>
</html>



Men hvordan hulen gør jeg den nederste streg sort? altså den der er lige under det hvis felt..? Hehe...

Chr.



lige før din table slutter tilføjer du:
<tr><td bgcolor="#000000" height=1 colspan=3></td></tr>



Fold kodeboks ind/udKode 



[Redigeret d. 05/02-03 21:53:58 af Jesper Kristensen]



Hej....

Jeg har en kode der ser sådan her ud (ganske enkelt..)

<html>
<head>
</head>

<body bgcolor="#CCCCCC" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" cellspacing="0" cellpadding="0" height="100%" align="center" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#000000" width="1">
<img src="pixel_zwart.gif" width="1" height="1"></td>
<td width="758" align="left" valign="top">
<table width="758" border="0" cellspacing="0" cellpadding="0" height="100%" bgcolor="#FFFFFF">
<tr>
<td height="271" align="left" valign="top">
<table width="758" border="0" cellspacing="0" cellpadding="0" height="271">
<tr>
<td height="263" width="758" align="left" valign="top">
 </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top">
 </td>
</tr>
</table>
</td>
<td bgcolor="#000000" width="1">

</tr>
</table>
<p align="center"> </p>
</body>
</html>



Men hvordan hulen gør jeg den nederste streg sort? altså den der er lige under det hvis felt..? Hehe...

Chr.



Ganske enkelt tilføjer du

style="border-bottom: 1px solid black;"

til selve tabel-koden :) På den måde at hele tabelkoden ser således ud:

<table width="760" border="0" cellspacing="0" cellpadding="0" height="100%" align="center" bgcolor="#FFFFFF" style="border-bottom: 1px solid black;">
<tr>
<td bgcolor="#000000" width="1">
<img src="pixel_zwart.gif" width="1" height="1"></td>
<td width="758" align="left" valign="top">
<table width="758" border="0" cellspacing="0" cellpadding="0" height="100%" bgcolor="#FFFFFF">
<tr>
<td height="271" align="left" valign="top">
<table width="758" border="0" cellspacing="0" cellpadding="0" height="271">
<tr>
<td height="263" width="758" align="left" valign="top">
 </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top">
 </td>
</tr>
</table>
</td>
<td bgcolor="#000000" width="1">

</tr>
</table>



t