AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

[HTML] Tabellen Problem

Ein Thema von PierreB · begonnen am 6. Jul 2005 · letzter Beitrag vom 6. Jul 2005
Antwort Antwort
PierreB
(Gast)

n/a Beiträge
 
#1

[HTML] Tabellen Problem

  Alt 6. Jul 2005, 11:47
Guten Morgen,

ich richte gerade eine Portalseite für ein Forum ein, habe aber folgendes Problem: Ich habe eine Tabelle mit 2 Spalten. In der einen ist eine Box wer gerade onlin eist, in der zweiten stehen die letzten Themen. Nur leider ist die erste Box weiter unten als die zweite (siehe Anhang). Wie kann ich beide Boxen oben nebeneinander positionieren, wie in der DP ? Danke schonmal.

P.S.: HTML:
Code:
<span class="nav">[url="{U_INDEX}"]{L_INDEX}[/url]</span>
<table >
<tr>
<td><table width="25%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr>
      <th colspan="5">[url="{U_VIEWONLINE}"]<font size="1">{L_WHO_IS_ONLINE}</font>[/url]</th>
  </tr>
  <tr>
      <!-- Wieviele User online, etc.<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}
{TOTAL_USERS}
{NEWEST_USER}</span></td>!-->
  </tr>
  <tr>
      <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} {LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>

<table width="100%" cellpadding="1" cellspacing="1" border="0">
   <tr>
      
   </tr>
</table></td>


<td>
<table width="60%" cellpadding="1" cellspacing="1" border="0" align="center" class="forumline">
  <tr>
        <th colspan="5">{L_RECENT_TITLE}</th>
   </tr>
   <tr>
         <td class="catLeft" colspan="1" height="28"><span class="cattitle"><font size=1> </font></a></span></td>
         <td class="catLeft" colspan="1" height="28"><span class="cattitle"><font size=1>Themen</font></a></span></td>
         <td class="catLeft" colspan="1" height="28"><span class="cattitle"><font size=1>Antw.</font></a></span></td>
         <td class="catLeft" colspan="1" height="28"><span class="cattitle"><font size=1>Letzter Beitrag</font></a></span></td>
  </tr>
 
  <tr>
        <td class="{recent.ROW_CLASS}" align="center" valign="middle">[img]{recent.TOPIC_FOLDER_IMG}[/img]</td>
        <td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="topictitle">{recent.NEWEST_IMG}{recent.TOPIC_TYPE}[url="{recent.U_VIEW_TOPIC}"]{recent.TOPIC_TITLE}[/url]</span>
                                                                                       <span class="gensmall">
{recent.FIRST_AUTHOR}
</span></td>
        <td class="{recent.ROW_CLASS}" width="4%" align="left"><span class="postdetails"><center>{recent.REPLIES}</center>
                                                                                                 </span></td>
       
        <td class="{recent.ROW_CLASS}" width="17%" nowrap="nowrap"><span class="postbody"></span>
                                                                                                           <span class="gensmall"><center>{recent.LAST_URL} {recent.LAST_TIME}
{recent.LAST_AUTHOR}</center></span></td>
  </tr>
 
</table>
[img]templates/c3s/images/c3s_shadow.gif[/img]



</td></tr></table>                      
                       
                        {REPORT_INFO}
Miniaturansicht angehängter Grafiken
forum_153.jpg  
  Mit Zitat antworten Zitat
Benutzerbild von alcaeus
alcaeus

Registriert seit: 11. Aug 2003
Ort: München
6.537 Beiträge
 
#2

Re: [HTML] Tabellen Problem

  Alt 6. Jul 2005, 11:51
Moin Pierre,

einfach vertical-align in die style-Angabe reingeben. Hier ein Beispiel:

Code:
<table style="width:100%;" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="width:25%; vertical-align:top;">
      <table ...>...</table>
    </td>
    <td style="width:75%; vertical-align:top;">
      <table ...>...</table>
    </td>
  </tr>
</table>
Greetz
alcaeus
Andreas B.
Die Mutter der Dummen ist immer schwanger.
Ein Portal für Informatik-Studenten: www.infler.de
  Mit Zitat antworten Zitat
NicoDE
(Gast)

n/a Beiträge
 
#3

Re: [HTML] Tabellen Problem

  Alt 6. Jul 2005, 11:52
Entweder im Style
Code:
text-align    : left;
vertical-align : top;
oder direkt im HTML
Code:
align="left" valign="top"
  Mit Zitat antworten Zitat
PierreB
(Gast)

n/a Beiträge
 
#4

Re: [HTML] Tabellen Problem

  Alt 6. Jul 2005, 11:54
Vielen Dank euch beiden, es geht jetzt.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:19 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