Probleme mit Layout

Deutschsprachiger Support für CMS Made Simple
Post Reply
miketmc

Probleme mit Layout

Post by miketmc »

ich brauche dringend Hilfe:

(nutze BETA4, wegen dem News-Modul!)

ich habe ein Tabellenlayout gemacht, das Menü in die oberste Reihe/Spalte geschrieben  (s. beta4-1.jpp)

die Struktur der Seite ist hier zusehen  beta4-2.jpg

Es wird aber kein Untermenü angezeigt (ist die Tabelle zu klein? wie muß die Spalte ev. formatiert werden?)

Im Default-Layout gibts keine Problme mit Untermenüpunkten  (s. beta4-3.jpg)



Brauche dringend Hilfe!

hier kann das ganze "live" angeschaut werden: http://dsb.ds.ohost.de/


Was läuft da falsch?

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<__html>
<head>
  <meta http-equiv="Content-Type"
 content="text/html; charset=windows-1252">
  <title>DSB</title>
</head>
</__body leftmargin="0" topmargin="0">
{stylesheet}
<div align="center">
<center>
<table border="1"
 bordercolor="#cccccc" cellpadding="0" cellspacing="0"
 width="780">
  <tbody>
    <tr>
      <td valign="top" width="100%">
      <table border="0"
 bordercolor="#111111" cellpadding="0" cellspacing="0"
 width="100%">
        <tbody>
          <tr>
            <td width="100%">
            <table border="0"
 bordercolor="#111111" cellpadding="0" cellspacing="0"
 width="100%">
              <tbody>
                <tr>
                  <td
 background="../uploads/images/2.jpg" valign="bottom"
 width="73%">
                  <div class="leftsidebar">
                  <div class="icons"></div>
                       {cms_module module='phplayers' horizontal='1'}
                  </div>
                  </td>
                  <td
 background="../uploads/images/2.jpg" width="2%">
                  <img
 src="../uploads/images/2.jpg" border="0" height="75"
 width="8"></td>
                  <td align="right"
 background="../uploads/images/2.jpg" width="25%">
                  <img
 src="../uploads/images/3.jpg" border="0" height="74"
 width="190"></td>
                </tr>
              </tbody>
            </table>
            </td>
          </tr>
          <tr>
            <td width="100%">
            <img alt="banner"
 src="../uploads/images/banner3.jpg"
 style="border: 0px solid ; width: 780px; height: 196px;"></td>
          </tr>
          <tr>
            <td width="100%">
            <div align="right">
            <table border="0"
 bordercolor="#111111" cellpadding="0" cellspacing="0"
 width="780">
              <tbody>
                <tr>
                  <td valign="top"
 width="579">
                  <div align="right">
                  <table border="0"
 bordercolor="#111111" cellpadding="0" cellspacing="0"
 width="98%">
                    <tbody>
                      <tr>
                        <td width="100%">
                        <div class="thebody">
                        <div class="heading">{title}</div>
{content} </div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  </div>
                  <font
 style="font-size: 11px;" color="#4a6080" face="Verdana"><br>
was schreibe ich hier?;</font></td>
                  <td valign="top"
 width="201">
                  <div align="left">
                  <table
 style="border-collapse: collapse;" id="AutoNumber5"
 border="0" bordercolor="#111111" cellpadding="0"
 cellspacing="0" width="190">
                    <tbody>
                      <tr>
                        <td colspan="2"
 background="../uploads/images/5.jpg" width="100%">
                        <img
 src="../uploads/images/4.jpg" border="0" height="30"
 width="201"></td>
                      </tr>
                      <tr>
                        <td
 background="../uploads/images/5.jpg" width="10%"> </td>
                        <td width="90%">
                        <p><font
 style="font-size: 11px;" face="Verdana"><font
 color="#4a6080">Newstext hier!<br>
 </font></font></p>
                        </td>
                      </tr>
                      <tr>
                        <td
 background="../uploads/images/5.jpg" width="10%"> </td>
                        <td width="90%"> </td>
                      </tr>
                      <tr>
                        <td
 background="../uploads/images/5.jpg" width="10%"> </td>
                        <td width="90%">
                        </td>
                      </tr>
                      <tr>
                      </tr>
                    </tbody>
                  </table>
                  </div>
                  </td>
                </tr>
              </tbody>
            </table>
            </div>
            </td>
          </tr>
        </tbody>
      </table>
      <table border="0"
 bordercolor="#111111" cellpadding="0" cellspacing="0"
 width="100%">
        <tbody>
          <tr>
            <td colspan="2"
 align="right" background="../uploads/images/2.jpg"
 width="100%"> <font
 face="Verdana" size="1">©Copyright
2005. DSB</font></td>
          </tr>
          <tr>
            <td align="center"
 width="30%">
            <p class="breadcrumbs">{breadcrumbs}</p>
            </td>
            <td width="92%"></td>
          </tr>
        </tbody>
      </table>
      </td>
    </tr>
  </tbody>
</table>
</center>
</div>
<__body>
</__html>
[attachment deleted by admin]
Last edited by miketmc on Tue Jun 07, 2005 10:39 pm, edited 1 time in total.
piratos

Re: Probleme mit Layout

Post by piratos »

Schwer zu finden.

Ich würde die äussere Tabelle auf 100% setzen und die Einschränkung auf  780 Pixel in die innere setzen.
Dazu würde ich auch alle Styles - Anweisungen auch die Tabellenformatierung und die Zellenformatierung nach aussen in die Stylesdatei verlagern.
Das macht den Code sehr kompakt und Änderungen lassen sich spielend durchführen.

Im übrigen geht es am schnellsten ein Template zunächst komplett extern zu erstellen, bis es vom Syntax und von der grossen Ausrichtung optimal ist. Dann erst übertragen und life testen.
miketmc

Re: Probleme mit Layout

Post by miketmc »

Danke für Deine Mühe und Deine Antwort.

Ich finde einfach den Fehler nicht!

Ist wohl zu verschachtelt; nachdem ich nun schon fast 4 Stunden probiere --> kein Bock mehr, ich nehm ein anderes Design --> damit geht´s
piratos

Re: Probleme mit Layout

Post by piratos »

Noch ein Hinweis - es ist hier immer XHTML , nie HTML 4.01 !!

Solltest auch mal ne Validierung des rohen Templates machen.
Post Reply

Return to “German - Deutsch”