also, langsam versteh ichs nicht mehr...
hab jetzt so ziemlich alles so gemacht wie Befohlen...
doch erstens zeigts die Hntergrundfarbe nicht an, und die Links funktionieren immer noch nicht... (WARUM?)
beim zentrieren der Seite blick ich auch nicht durch... daher ists nur als comment drinn...
wenn ich mit einer externen .css arbeiten will, ist dann der Teil, der die Rahmen etc. definiert auch in der, oder bleibt der in der index.php???
wenn ich im css teil vor body ein Punkt mache, dann gehts nicht mehr, und wenn ich den Pt vor Navigation weg nehm dann gehts auch nicht meht, warum? Bzw was ist der unterschied?
PHP-Code:
<html>
<head>
<style type="text/css">
body {
background: #08215A
}
<!--.centered {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 50%;
height: 50%;
margin: auto;
background-color: red;
color: white;
}-->
.Navigation {
font-size: 16pt;
color: #FF8429;
font-family: Monotype Corsiva;
font-weight: bold;
text-align: left;
background-color: #082984;
padding:3px;
border:2px solid white;
width:125px;
height:350px;
position:absolute; left:0px;top:125px;
}
.Navigation2 {
font-size: 16pt;
color: #FF8429;
font-family: Monotype Corsiva;
font-weight: bold;
text-align: left;
background-color: #082984;
padding:3px;
border:2px solid white;
width:125px;
height:370px;
position:absolute; left:0px;top:480px;
}
.Main {
font-size: 18pt;
color: #FF8429;
font-family: Monotype Corsiva;
font-weight: medium;
text-align: left;
background-color: #082984;
padding:3px;
border:2px solid white;
width:675px;
height:730px;
position:absolute; left:130px;top:125px;
}
</style>
<link rel="shortcut icon" href="bilder/ismi.ch.vu.ico">
</head>
<body>
<img src="bilder/banner.JPG">
<!--<div class="centered"> -->
<div class="Navigation">
Menu<br />
<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 />
<a href="index.php?content=News-Archiv">-News-Archiv</a><br />
</div>
<div class="Navigation2">
<?php
require ( "/usr/export/www/vhosts/funnetwork/hosting/ismi/umfrage/config.inc.php" );
require ( $relativer_pfad . "poll_sm.php" );
?>
</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;
case "News-Archiv" : include( "news-archiv.php" ); break;
default: include( "home.php" ); break;
} ?>
</div>
</div>
<!--</div>--> -->
</body>
</html>
gruss ismi