Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem mit valign

Empfohlene Antworten

Veröffentlicht

Hallöchen.

Ich habe ein kleines Problemchen mit dem vailgn.

Hier erstmal der code:

<tr>

              <td background="images/content_bg.jpg" valign="top">

                <table height="100%" border="0" cellpadding="0" cellspacing="0">

                  <tr height="100%">

                    <td width="8"></td>

                    <td height="100%" width="278" align="left" valign="top">

                      <table height="100%" border="0" cellpadding="0" cellspacing="0">

                        <tr>

                          <td valign="top">

                            <?php

                              INCLUDE("./navigation.php");

                            ?>

                          </td>

                        </tr>

                        <tr height="20">

                          <td> </td>

                        </tr>

                        <tr align="center" valign="bottom">

                          <td align="center" valign="bottom"><a href="http://www.clantemplates.com/" target="_blank"><img src="images/button1.jpg" width="280" height="63" border="0" alt=""></a><br><a href="http://www.prodencial.net/" target="_blank"><img src="images/button2.jpg" width="280" height="57" border="0" alt=""></a></td>

                        </tr>

                      </table>

                    </td>

                    <td width="10"></td>

                    <td height="100%" width="720" align="left" valign="top">

  <?php

    if(isset($_GET['page'])) {

        switch($_GET['page']) {

            case "home":

                include "home.php";

                break;


            case "about":

                include "about.php";

                break;


            case "links":

                include "links.php";

                break;


            case "downloads":

                include "downloads.php";

                break;


            case "g-book":

                include "g-book.php";

                break;


            case "gallery":

                include "gallery.php";

                break;


            case "pc-fleet":

                include "pc-fleet.php";

                break;


            case "changelist":

                include "changelist.php";

                break;


            default:  // Wenn eine ungültige Section angegeben wurde

                    // soll die Übersicht gezeigt werden

                include "home.php";

                break;

        }

    } else {

        // wenn section nicht angegeben wurde

        // soll die Übersicht angezeigt werden.

        include "home.php";

    }

  ?>

                    </td>

                    <td width="8"></td>

                  </tr>

                </table>

              </td>

            </tr>

Problem hier bei besteht darin, das im firefox (z.Bsp) die 2 buttons unten sind, nicht jedoch im internetexplorer. Ist immer abhängig von der höhe des danebenliegenden content-bereiches.

folglich benötige ich an dieser stelle hilfe.

Viele Grüße

Morfi

zum html problem hab ich gerade im moment leider keine lösung, aber du könntest dir in php ab jetzt eine menge tipparbeit ersparen wenn du deinen ganzen switch block durch folgendes ersetzt:


$file = $_GET['page'].".php"; 

if(file_exists($file)){

    //FILE VORHANDEN -> EINBINDEN

   include($file);

}else{

   include("home.php");

}

hey cool! ^^

file_exists kannte ich noch nicht. ist aber jetzt eh egal, weil ab jetzt nichts mehr dazukommen wird...

Grüße

Morfi

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.