[HTML] Verticaal uitlijnen tabel probleem

Pagina: 1
Acties:

  • ravenger
  • Registratie: Juli 2001
  • Laatst online: 03-09 15:29
Ik heb een tabel binnen een tabel.
De buitenste tabel is 500 pixels hoog.

Nu is het zo, dat als ik een nieuwe tabel binnen de buitenste tabel maak, dat hij uitgelijnt wordt in het midden van de buitenste tabel. Hoe kan ik er voor zorgen dat deze tabel niet in het midden uitgelijnt wordt maar boven? Ik heb al verscheidene dingen geprobeerd, ook met behulp van een stylesheet maar nog geen succes. Valign=top werkt ook niet als ik deze in de <table> tag erbij zet.

Het zal misschien heel simpel zijn maar ik kom er niet uit :) Heb al gezocht maar zonder succes.

[edit]
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="ss.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
  <table width="75%" border="0" bordercolor="#000000" cellspacing="0" cellpadding="0" align="center" valign=top>
    <tr bgcolor="#000000"> 
    <td colspan="3"> 
      <div align="center">[img]"QM-title800x120.jpg"[/img]</div>
    </td>
    </tr>
    <tr> 
    <td colspan="3" height="35"> 
      <div align="left"> 
        <table width="100%" border="0" bordercolor="#000000" bgcolor="#000000">
        <tr bgcolor="#000000" bordercolor="#000000"> 
          <td height="2" bordercolor="#000000" width="51%"><font color="#FFFFFF">- 
            Banana Armed and Dangerous -</font></td>
          <td height="2" bordercolor="#000000" width="49%"> 
            <div align="right"><font color="#FFFFFF">- irc.quakenet.org #QM.nl 
            -</font></div>
          </td>
        </tr>
        </table>
      </div>
      <div align="center"></div>
    </td>
    </tr>
    <tr>
    <td width="100" height="341">test</td>
    <td width="600" height="440"> 
      <div align="center"> 
        <table width="542" border="0" align="center" valign=top>
        <tr> 
          <td width="540" valign=top> 
            <table width="75%" border="0" align="center" bgcolor="#000000">
            <tr bordercolor="#000000"> 
              <td bgcolor="#000000" width="15%" height="4" background="Untitled-1.jpg"> 
                <div align="right"></div>
              </td>
              <td bgcolor="#000000" width="80%" height="4"><font color="#FFFFFF">- 
                Welcome to the QM website -</font></td>
              <td bgcolor="#000000" width="5%" height="4"> 
                <div align="right">[img]"uk.gif"[/img]</div>
              </td>
            </tr>
            <tr bordercolor="#000000"> 
              <td bgcolor="#000000" colspan="3" height="17">&nbsp;</td>
            </tr>
            </table>
          </td>
        </tr>
        </table>
      </div>
    </td>
    <td width="100" height="341"> 
      <div align="right">test</div>
    </td>
    </tr>
  </table>
</div>
</body>
</html>

  • ravenger
  • Registratie: Juli 2001
  • Laatst online: 03-09 15:29
hmm, ik heb et inmiddels gevonden, beetje dom was et idd;
de buitenste tabel bestaat uit 2 rows, de onderste row uit 3 kolommen. Wat ik nu gedaan heb is de hele row verticaal uit te lijnen: <TR valign=top>