Ergebnis 1 bis 20 von 72

Thema: Innere Seite +Beidseitiges Menu

Baum-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #11
    also, hab jetzt etwas kapiert: der Farbige Teil sagt aus, welcher Text zu was verlinken soll. also home verlinkt zum home content, was zu home.php verlinkt... (oder so)

    nun jetzt siehts bei mir wie folgt aus:
    PHP-Code:
    <html>
    <head>
    <style type="text/css">
    .Navigation {
    background: #31007B;
    padding:3px;
    border:1px solid silver;
    width:150px;
    height:700px;
    position:absolute; left:0px;top:5px;
    }
    .Main {
    background: #31007B;
    padding:3px;
    border:2px solid white;
    width:500px;
    height:700px;
    position:absolute; left:155px;top:5px;
    }
    .Left {
    background: #31007B;
    padding:3px;
    border:2px solid white;
    width:150px;
    height:700px;
    position:absolute; left:660px;top:5px;
    }
    </style>
    <link rel="shortcut icon" href="bilder/ismi.ch.vu.ico">
    </head>
    <body>
    <div class="Navigation">
    <a href="index.php?content=Home">-Home</a><br />
    <a href="index.php?content=Artikel">-Artikel</a><br />
    <a href="index.php?content=Forum">-Forum</a><br />
    <a href="index.php?content=Gästebuch">-Gästebuch</a><br />
    <a href="index.php?content=Bilder">-Bilder</a><br />
    <a href="index.php?content=Rezepte">-Rezepte</a><br />
    <a href="index.php?content=Spiele">-Spiele</a><br />
    <a href="index.php?content=Witziges">-Witziges</a><br />
    <a href="index.php?content=Links">-Links</a><br />
    <a href="index.php?content=e-Mail me">-e-Mail me</a><br />
    <a href="index.php?content=Statistik">-Statistik</a><br />
    </div>
    <div class="Main">
    <?php
    switch($content){
    case 
    "Home": include("home.php"); break;
    case 
    "Artikel": include("artikel.php"); break;
    case 
    "Forum": include("phpBB2/index.php"); break;
    case 
    "Gästebuch": include("myPHP_Guestbook_1.4/myphpg%E4stebuch/index.php"); break;
    case 
    "Bilder": include("indexbilder.php"); break;
    case 
    "Rezepte": include("rezepte.php"); break;
    case 
    "Spiele": include("spiele.php"); break;
    case 
    "Witziges": include("witziges.php"); break;
    case 
    "Links": include("links.php"); break;
    case 
    "e-Mail me": include("mailto:ismailmorgenegg@yahoo.de?subject=Email%20me"); break;
    case 
    "Statistik": include("statistik.php"); break;
    default: include(
    "home.php"); break;
    }
    ?>
    </div>
    <div class="Left">
    <?php
     
    require ("/usr/export/www/vhosts/funnetwork/hosting/ismi/umfrage/config.inc.php");

    require (
    $relativer_pfad "poll_sm.php");
    ?>
    </div>
    </div>
    </body>
    </html>
    meine Fragen: hab das mit csss nicht ganz verstanden.
    ich weiss, das in der .css datei festgelegt, wie der Text teil aussieht also grösse, Schriftart, Farbe etc...
    doch wie sieht die .css Datei im Grundlegenden aus? und wie kann ich dem Teil in der Mitte eine andere .css zuweisen?
    und wie kann ich ein Bild über (oben drüber) alle 3 Spalten einfügen?

    gruss ismi

    ps: ich hatte vor, diese Ferien mich mit PHP vertraut zu machen, doch meine Mutter musste auf den Weg zu meinem Onkel in Deutschland einen Unfall bauen und so unsere Ferien um eine Woche verlängern, da die Motorkühlung geschrottet war... und mein Onkel hat KEIN Internet.... aber einen Porsche leistet er sich... aber ich denke, ich kapieres genug schnell, um das hier zu verstehen...


    GROSSES EDIT:

    so, es ist 2.30 Uhr und ich glaub ich bin einwenig intelligenter geworden... doch es will nicht ganz...
    also, dies ist nun meine index.php
    PHP-Code:
    <html>
    <head>
    <link href="text.css" rel="Style Sheet" type="text/css">

    <!-- <style type="text/css">
    .Navigation {
    background: #31007B;
    padding:3px;
    border:1px solid silver;
    width:150px;
    height:700px;
    position:absolute; left:0px;top:5px;
    }
    .Main {
    background: #31007B;
    padding:3px;
    border:2px solid white;
    width:500px;
    height:700px;
    position:absolute; left:155px;top:5px;
    }
    .Left {
    background: #31007B;
    padding:3px;
    border:2px solid white;
    width:150px;
    height:700px;
    position:absolute; left:660px;top:5px;
    }
    </style>
    -->
    <link rel="shortcut icon" href="bilder/ismi.ch.vu.ico">
    </head>
    <body>
    <div class="Navigation">
    <a href="index.php?content=Home">-Home</a><br />
    <a href="index.php?content=Artikel">-Artikel</a><br />
    <a href="index.php?content=Forum">-Forum</a><br />
    <a href="index.php?content=Gästebuch">-Gästebuch</a><br />
    <a href="index.php?content=Bilder">-Bilder</a><br />
    <a href="index.php?content=Rezepte">-Rezepte</a><br />
    <a href="index.php?content=Spiele">-Spiele</a><br />
    <a href="index.php?content=Witziges">-Witziges</a><br />
    <a href="index.php?content=Links">-Links</a><br />
    <a href="index.php?content=e-Mail me">-e-Mail me</a><br />
    <a href="index.php?content=Statistik">-Statistik</a><br />
    </div>
    <div class="Main">
    <?php
    switch($content){
    case 
    "Home": include("home.php"); break;
    case 
    "Artikel": include("artikel.php"); break;
    case 
    "Forum": include("phpBB2/index.php"); break;
    case 
    "Gästebuch": include("myPHP_Guestbook_1.4/myphpg%E4stebuch/index.php"); break;
    case 
    "Bilder": include("indexbilder.php"); break;
    case 
    "Rezepte": include("rezepte.php"); break;
    case 
    "Spiele": include("spiele.php"); break;
    case 
    "Witziges": include("witziges.php"); break;
    case 
    "Links": include("links.php"); break;
    case 
    "e-Mail me": include("mailto:ismailmorgenegg@yahoo.de?subject=Email%20me"); break;
    case 
    "Statistik": include("statistik.php"); break;
    default: include(
    "home.php"); break;
    }
    ?>
    </div>
    <div class="Left">
    <?php
     
    require ("/usr/export/www/vhosts/funnetwork/hosting/ismi/umfrage/config.inc.php");

    require (
    $relativer_pfad "poll_sm.php");
    ?>
    </div>
    </div>
    </body>
    </html>
    und dies ist meine text.css :

    PHP-Code:
    <style type="text/css">

    Navigation {                                                <!-- Navigations Style... mit Rahmen und Link-Farben -->
    background#31007B;
    padding:3px;
    border:2px solid white;
    width:150px;
    height:700px;
    position:absoluteleft:0px;top:5px;
    font-familyMonotype Corsiva;
    font-sizelarger;
    font-weightbold;
    text-alignleft;
    color#31B5D6
    }
    Main {                                                        <!-- Main Stylehier wird ein Rahmen gelegt und sachen definiert... ^o^" -->
    background: #31007B;
    padding:3px;
    border:2px solid white;
    width:500px;
    height:700px;
    position:absolute; left:155px;top:5px;
    font-family: Monotype Corsiva;
    font-size: x-large;
    font-weight: bold;
    color: #31B5D6
    }
    Left {                                                        <!-- im Left Teil wird nur ein Rahmen gemacht und background definiert... -->
    background: #31007B;
    padding:3px;
    border:2px solid white;
    width:150px;
    height:700px;
    position:absolute; left:660px;top:5px;
    }



    body {
            background-color: 082984;
            font-family: Monotype Corsiva;
            color: 63C6DE
    }
    h1 {
        font-size: x-large;
        font-weight: bold;
    }

    h2 {
        font-size: larger;
    }

    text {
        font-size: smaller;
    }

    </style> 
    doch macht es nicht was es soll...

    ach, hier noch die home.php

    PHP-Code:
    <html>
    <
    head>
    <
    link href="text.css" rel="Style Sheet" type="text/css">
    </
    head>
    <
    body>
    dies ist der Home teil!!! <br>
    <
    h1>Test h1</h1> <br>
    <
    h2>Test h2</h2>
    </
    body>
    </
    html
    die Spalten werden übereinander angezeigt, der Text nicht formatiert... was ist wrong?

    gruss ismi und gute Nacht

    Geändert von ismi (07.01.2006 um 01:49 Uhr)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •