Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   [HTML] tabellenprobleme (https://www.delphipraxis.net/57716-%5Bhtml%5D-tabellenprobleme.html)

XeRo 25. Nov 2005 14:25


[HTML] tabellenprobleme
 
Liste der Anhänge anzeigen (Anzahl: 2)
Hi. Ich weiß dass der Titel wieder mal super allgemein ist...

Aber zu meinem Problem:

Ich möchte eine Tabelle erstellen die aussieht wie im anhang(tabellen.jpg). Wenn ich aber folgenden "Code" verwende sieht die tabelle aus wie "tabellen2.jpg" (siehe Anhang).

Meine konkrete Frage ist: Wie kann ich wenn ich eine größere Tabelle hab nicht in der Mitte der Zelle beginne sondern von Oben...
versteht mich irgendwer? :pale:


Ich verwende diesen "Code":

Code:
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <td width="33%">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
      <tr>
        <td width="100%"></td>
      </tr>
      <tr>
        <td width="100%">

</td>
      </tr>
    </table>
   

</p>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
      <tr>
        <td width="100%"></td>
      </tr>
      <tr>
        <td width="100%">

</td>
      </tr>
    </table>
    </td>
    <td width="33%">asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd asd
    asd asd asd asd asd asd asd asd asd asd asd asd asd asd </td>
    <td width="33%">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
      <tr>
        <td width="100%"></td>
      </tr>
      <tr>
        <td width="100%">

</td>
      </tr>
    </table>
   

</p>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
      <tr>
        <td width="100%"></td>
      </tr>
      <tr>
        <td width="100%">

</td>
      </tr>
    </table>
    </td>
  </tr>
</table>

sniper_w 25. Nov 2005 14:28

Re: [HTML] tabellenprobleme
 
Zitat:

Meine konkrete Frage ist: Wie kann ich wenn ich eine größere Tabelle hab nicht in der Mitte der Zelle beginne sondern von Oben...
versteht mich irgendwer? Pale
Oh yessss. :zwinker: <td valign = "top"></td>

EDIT: www.css4you.de

Aenogym 25. Nov 2005 14:29

Re: [HTML] tabellenprobleme
 
sowas steht alles in http://de.selfhtml.org - nur zu empfehlen ;)

XeRo 25. Nov 2005 14:33

Re: [HTML] tabellenprobleme
 
{valign hat nicht wirklich was geändert...wo muss ich das einsetzen.. :gruebel: }
Ok valign "Top" wars...


und nach was soll ich bei selfhtml am besten suchen? :gruebel:

Aenogym 25. Nov 2005 14:36

Re: [HTML] tabellenprobleme
 
Zitat:

Zitat von XeRo
valign hat nicht wirklich was geändert...wo muss ich das einsetzen.. :gruebel:


und nach was soll ich bei selfhtml am besten suchen? :gruebel:

also das valign ist seit xhtml nicht mehr gültig, soweit ich weiß. daher solltest du besser CSS verwenden. das steht auch in selfhtml.
in selfhtml suche ich persönlich nicht, sondern ich klicke mich durch die rubriken:

HTML/XHTML > Tabellen > Getsaltung einer Tabelle > Ausrichtung von Zellen

aenogym

Matze 25. Nov 2005 14:42

Re: [HTML] tabellenprobleme
 
Zitat:

Zitat von Aenogym
also das valign ist seit xhtml nicht mehr gültig, soweit ich weiß. daher solltest du besser CSS verwenden. das steht auch in selfhtml.

Wenn du das (auch durchgestrichen) ansprichst, dann sei noch gesagt, dass Tabellen für die Layoutgestaltung allgemein nicht genutzt werden sollen, sondern div & Co. Aber ich denke, im Normalfall reicht der HTML 4 Standard.

Aenogym 25. Nov 2005 14:44

Re: [HTML] tabellenprobleme
 
Zitat:

Zitat von Matze
Wenn du das (auch durchgestrichen) ansprichst, dann sei noch gesagt, dass Tabellen für die Layoutgestaltung allgemein nicht genutzt werden sollen, sondern div & Co. Aber ich denke, im Normalfall reicht der HTML 4 Standard.

da können wir uns die hand reichen - wenn man so ein layout einmla mit div's usw. gemacht hat, rührt man tabellen nicht mehr an ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:24 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz