pCloud Premium

resultat anders im ie als firefox/mozilla

  • ich möchte gerne nach und nach meine homepage mit php schreiben..
    ich habe mal die menüführung erstelt, und mit iframe und include dan seiten angehängt
    schaue ich es im ie an, sieht es gut aus, schaue ich es im firefox/mozilla an, sieht es nicht so gut aus.
    ich habe mich für iframe entschieden, da ich noch seiten habe, welche mit asp,htm,php erstellt sind.
    mit include kann ich nur php,htm anbinden, aber keine asp. daher arbeite ich mit iframe.

    beispiel: http://testphp.web.coumans.ch/test1.php

    hier der code.

    <?php
    $page = $_GET ['page'] ;
    ?>
    <html>
    <head>
    <meta name="robots" content="NOINDEX,NOFOLLOW">
    <link rel=stylesheet type="text/css" href="system/3.css">
    <title>Kopf</title>
    </head>
    <body>
    <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
    <!-- MSTableType="layout" -->
    <tr>
    <td valign="top" width="100" height="25">
    <!-- MSCellType="XXXX" -->
    </td>
    <td valign="top" align="center" width="*" height="25">
    <!-- MSCellType="Kopf" -->
    Testhomepage</td>
    </tr>
    <tr>
    <td valign="top" width="100" height="*">
    <!-- MSCellType="Menu" -->
    <a href="?page=000">Home</a><p>
    <a href="?page=100">Gallery1</a></p>
    <a href="?page=200">Gallery2</a></p>
    </td>
    <td valign="top" width="*%" height="100%">
    <!-- MSCellType="Inhalt" -->
    <?php
    if ( $page =="000") { echo ""; }
    if ( $page =="100") { echo "Gallery IFrame"; }
    if ( $page =="200") { echo "Kalender Include"; }
    ?>
    <hr>
    <?php
    if ( $page =="100") { echo'<p><iframe name="I1" Width="100%" Height="100%" Scrolling="yes" Marginheight="0" Marginwidth="0" Frameborder="0" src="http://coumans.web.coumans.ch/gallery/index.…me></p>';}
    if ( $page =="200") { include ('http://coumans.web.coumans.ch/gallery/index.php');}
    ?>
    </td>
    </tr>
    </table>
    </body>
    </html>

    was muss ich machen, das es gleich aussieht in allen browsern

WindowsPower.de Artikel

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!