webForumDet fria alternativet

en footer med tabeller

HTML & CSS

1 svar · 238 visningar · startad av Karamell

Medlem sedan juni 200199 inlägg
Frågan#1

Bygger layouter i dw med tabeller, är inte så insatt i <div> och har försökt få en bild längst ned på sidan(footer.jpg) i alla upplösning. Har läst tidigare inlägg om samma sak men får det inte att funka... min kod:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">

a:link
{
color: black;
text-decoration: none
}

a:visited
{
color: black;
text-decoration: none
}

a:active
{
color: black;
text-decoration: none
}

a:hover
{
color: black;
text-decoration: underline
}

</style>
</head>

<body bgcolor="#000000" background="bgtest1.gif" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bottommargin="0">
<center>

<table width="700" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><img src="logo4.jpg" width="700" height="100"></td>
</tr>
<tr>
<td width="33%"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20"> </td>
<td bgcolor="FFFfff"><ul id="tablist">
<li>asdf</li>
</ul>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="px_black.gif" width="100%" height="1"></td>
</tr>
</table>
<DIV id="tabcontentcontainer">
<div id="sc1" class="tabcontent"></div>
</DIV></td>
</tr>
<tr>
<td width="3%" height="105"> </td>
<td width="97%" valign="top" bgcolor="FFFfff"> <table width="629" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td width="50%" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font size="3">Suspendisse</font></strong><br>
<br>
<strong><font size="3">S</font></strong>uspendisse sodales purus
vitae justo. Integer laoreet risus sodales felis.
consequat porttitor. </font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>

Medlem sedan juli 20013 378 inlägg
#2

Hmm...
Prova:

<table style="height:100%" border="0" cellpadding="0" cellspacing="0">
<tr><td valign="top">[hela din nuvarande tabell här]</td></tr>
<tr><td valign="bottom"><img src="footer.jpg"></td></tr>
</table>

... eller har jag missuppfattat dig ?

261 ms totalt · 4 externa anrop · v20260731065814-full.a51de22e
125 ms — deklarationer (db)
0 ms — hämta statistik (cache)
133 ms — hämta tråd, inlägg och bilagor (db)
117 ms — ändringar (db)