Hmm jag har problem med HTML och tabeller. Jag vill att Inloggning, Loggain osv ska vara en längd hur lång sidan än är och sen att Skickasidantillenvan, SkaffavaratNyhetsbrev td'na ska vara resterande längd som finns att hämta + att Med denhär koden funkar det i 760pxTabeller i HTML (Går skit :P)
<td width="*" height="1" valign="left" bgcolor="#655B48"><div class="DottedVagratbeige"></td>
</tr>
Som ligger under i koden under SkickaSidanTillEnVan koden ska vara lika lång som SKickaSidanTIllEnVan alltså resterande längd.
Men nu blir det nått mysko så alla td's blir längre o sidan blir större istället för att bara
Skickasidantillenvan, SkaffavaratNyhetsbrev och
<td width="*" height="1" valign="left" bgcolor="#655B48"><div class="DottedVagratbeige"></td>
</tr>
blir längre och om det inte bara är dom som byter längd så blir hela sidan skev. Går detta att lösa på nått sätt. Jag måste tilldela Skickasidantillenvan, SkaffavaratNyhetsbrev och
<td width="*" height="1" valign="left" bgcolor="#655B48"><div class="DottedVagratbeige"></td>
</tr>
en fast längd för att sidan ska se bra ut nu.
Teck på förhand // Muffin
<html>
<head>
<link rel="stylesheet" href="include/style.css">
<title>.: Meny :.</title>
</head>
<body Topmargin="0" Leftmargin="0">
<table width="762" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="102" valign="top" colspan="12" bgcolor="#ff0000" class="logga"> </td>
</tr>
<tr>
<!----------------------------- Inloggning ----------------------------->
<td width="154" height="46" valign="middle" align="center" rowspan="3" class="Inloggning">
<table width="140" height="100%" valign="center" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><input type="text" name="Anvandarnamn" class="Skugga"></td>
<td>Anv. namn</td>
</tr>
<tr>
<td><input type="Password" name="Losenord" class="Skugga"></td>
<td>Lösenord</td>
</tr>
</table>
</td>
<!----------------------------- Inloggning SLUT ----------------------------->
<td width="1" height="46" valign="middle" rowspan="3" class="InloggningEnd"><div class="DottedLodratSvartInloggad"></div></td>
<!----------------------------- Loggain ----------------------------->
<td width="142" height="22" valign="middle" class="Loggain"> Logga in</td>
<!----------------------------- Loggain SLUT ----------------------------->
<td width="24" height="46" valign="top" rowspan="3" class="EndSteg1"> </td>
<!----------------------------- NyaMedlemmarIdag ----------------------------->
<td width="164" height="22" valign="middle" class="NyaMedlemmarIdag"> Nya medlemmar idag: 12</td>
<!----------------------------- NyaMedlemmarIDag SLUT ----------------------------->
<td width="24" height="46" valign="top" rowspan="3" class="EndSteg2"> </td>
<!----------------------------- SkickaSidanTillEnVan ----------------------------->
<td width="*" height="22" valign="middle" class="SkickaSidanTillEnVan"> Skicka sidan till en vän</td>
<!----------------------------- SkickaSidanTillEnVan SLUT ----------------------------->
<td width="1" height="46" valign="top" rowspan="3" class="EndSteg3"> </td>
</tr>
<tr>
<td width="" height="1" align="left" bgcolor="#7D6F57"><div class="DottedVagratbeige"></div></td>
<td width="" height="1" valign="left" bgcolor="#6D614D"><div class="DottedVagratbeige"></td>
<td width="*" height="1" valign="left" bgcolor="#655B48"><div class="DottedVagratbeige"></td>
</tr>
<tr>
<!----------------------------- RegistreraNyttKonto ----------------------------->
<td width="142" height="23" valign="middle" class="RegistreraNyttKonto"> Registrera nytt konto</td>
<!----------------------------- RegistreraNyttKonto SLUT ----------------------------->
<!----------------------------- InneJustNu ----------------------------->
<td width="164" height="23" valign="middle" class="InneJustNu"> Inne just nu: 25</td>
<!----------------------------- InneJustNu SLUT ----------------------------->
<!----------------------------- SkaffaVaratNyhetsbrev ----------------------------->
<td width="*" height="23" valign="middle" class="SkaffaVaratNyhetsbrev"> Skaffa vårat nyhetsbrev</td>
<!----------------------------- SkaffaVaratNehytsbrev SLUT ----------------------------->
</tr>
<tr>
<td width="154" height="3" valign="middle" class="MenyTop"> </td>
<td width="*" height="3" valign="middle" colspan="7" class="BoxTop"> </td>
</tr>
<tr>
<!----------------------------- Meny ----------------------------->
<td width="154" height="*" valign="middle" class="MenyBakgrund">
<table width="100%" height="100%" valign="top" align="top" cellpadding="1" cellspacing="0">
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<!----------------------------- Nyheter ----------------------------->
<tr>
<td height="12" class="MenyRubriker">:: Nyheter</td>
</tr>
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Forum</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Forum</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Forum</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Forum</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Forum</td>
</tr>
<!----------------------------- Neheter SLUT ----------------------------->
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<!----------------------------- Forum ----------------------------->
<tr>
<td height="12" class="MenyRubriker">:: Forum</td>
</tr>
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Allmänt</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Buggar</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- C</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- C#</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- C++</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Design</td>
</tr>
<!----------------------------- Forum SLUT ----------------------------->
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<!----------------------------- Artikelarkivet ----------------------------->
<tr>
<td height="12" class="MenyRubriker">:: Artikelarkivet</td>
</tr>
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Lär dig C</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Lär dig C#</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Lär dig C++</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Lär dig Design</td>
</tr>
<!----------------------------- Artikelarkivet SLUT ----------------------------->
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<!----------------------------- Community ----------------------------->
<tr>
<td height="12" class="MenyRubriker">:: Community</td>
</tr>
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Min sida</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Inställningar</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Inkorg</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Medlemmar</td>
</tr>
<tr>
<td height="12" class="UnderMenyer">- Online lista</td>
</tr>
<!----------------------------- Community SLUT ----------------------------->
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<!----------------------------- Vanner / Sponsorer ----------------------------->
<tr>
<td height="12" class="MenyRubriker">:: Vänner / Sponsorer</td>
</tr>
<!----------------------------- Vanner / Sponsorer SLUT ----------------------------->
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<tr>
<td height="*"></td>
</tr>
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<!----------------------------- Copyright ----------------------------->
<tr>
<td height="28" align="center" valign="top">
Copyrighted: 2003<br>
All rights reserved<br>
X.se
</td>
</tr>
<!----------------------------- Copyright SLUT ----------------------------->
</table>
</td>
<!----------------------------- Meny SLUT ----------------------------->
<td width="1" height="100%" valign="middle" rowspan="1" bgcolor="#D6C8AB" style="border-bottom: 1px solid #000000;"><div class="DottedLodratSvart"></div></td>
<!----------------------------- Boxen ----------------------------->
<td width="*" height="*" valign="top" rowspan="1" colspan="6" class="Box">
<!----------------------------- Inkluderad sida ----------------------------->
dsa
<!----------------------------- Inkluderad sida SLUT ----------------------------->
</td>
<!----------------------------- Boxen SLUT ----------------------------->
</tr>
<!----------------------------- MenyVagrat ----------------------------->
<tr>
<td height="12" align="center" valign="middle" colspan="7">| Hjälp | Kontakta oss | Annonsera | Startsidan |</td>
</tr>
<!----------------------------- MenyVagrat ----------------------------->
</table>
</body>
</html>Sv: Tabeller i HTML (Går skit :P)
<html>
<head>
<link rel="stylesheet" href="include/style.css">
<title>.: Meny :.</title>
</head>
<body Topmargin="0" Leftmargin="0">
<table width="760" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="760" height="102" valign="top" colspan="8" class="logga"> </td>
</tr>
<tr>
<td width="154" height="46" valign="middle" align="center" rowspan="3" class="Inloggning">
<table width="140" height="100%" valign="center" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><input type="text" name="Anvandarnamn" class="Skugga"></td>
<td>Anv. namn</td>
</tr>
<tr>
<td><input type="Password" name="Losenord" class="Skugga"></td>
<td>Lösenord</td>
</tr>
</table>
</td>
<td width="1" height="46" valign="middle" rowspan="3" class="InloggningEnd"><div class="DottedLodratSvartInloggad"></div></td>
<td width="142" height="22" valign="middle" class="Loggain"> Logga in</td>
<td width="24" height="46" valign="top" rowspan="3" class="EndSteg1"> </td>
<td width="164" height="22" valign="middle" class="NyaMedlemmarIdag"> Nya medlemmar idag: 12</td>
<td width="24" height="46" valign="top" rowspan="3" class="EndSteg2"> </td>
<td width="250" height="22" valign="middle" class="SkickaSidanTillEnVan"> Skicka sidan till en vän</td>
<td width="1" height="46" valign="top" rowspan="3" class="EndSteg3"> </td>
</tr>
<tr>
<td width="142" height="1" align="left" bgcolor="#7D6F57"><div class="DottedVagratbeige"></div></td>
<td width="164" height="1" valign="left" bgcolor="#6D614D"><div class="DottedVagratbeige"></td>
<td width="250" height="1" valign="left" bgcolor="#655B48"><div class="DottedVagratbeige"></td>
</tr>
<tr>
<td width="142" height="23" valign="middle" class="RegistreraNyttKonto"> Registrera nytt konto</td>
<td width="164" height="23" valign="middle" class="InneJustNu"> Inne just nu: 25</td>
<td width="250" height="23" valign="middle" class="SkaffaVaratNyhetsbrev"> Skaffa vårat nyhetsbrev</td>
</tr>
<tr>
<td width="154" height="3" valign="middle" class="MenyTop"> </td>
<td width="*" height="3" valign="middle" colspan="7" class="BoxTop"> </td>
</tr>
<tr>
<td width="154" height="*" valign="middle" class="MenyBakgrund">
<table width="100%" height="100%" valign="top" align="top" cellpadding="1" cellspacing="0">
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<tr>
<td height="*"></td>
</tr>
<tr>
<td width="100%" height="1" align="left"><div class="DottedVagratSvart"></div></td>
</tr>
<tr>
<td height="28" align="center" valign="top">
Copyrighted: 2003<br>
All rights reserved<br>
X.se
</td>
</tr>
</table>
</td>
<td width="1" height="100%" valign="middle" rowspan="1" colspan="1" bgcolor="#D6C8AB" style="border-bottom: 1px solid #000000;"><div class="DottedLodratSvart"></div></td>
<td width="*" height="*" valign="middle" rowspan="1" colspan="6" class="Box"> </td>
</tr>
<tr>
<td height="12" align="center" valign="middle" colspan="7">| Hjälp | Kontakta oss | Annonsera | Startsidan |</td>
</tr>
</table>
</body>
</html>