Einzelnen Beitrag anzeigen

Nils_13

Registriert seit: 15. Nov 2004
2.647 Beiträge
 
#3

Re: Problem mit CSS und PHP

  Alt 29. Jan 2006, 18:53
Die Seite geht erst später online, deshalb:
Hier die Startseite (kein PHP, läuft):
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  <title>nDallmeyer.de</title>
  <link rel="stylesheet" type="text/css" href="./nils.css" />
  <body text="#FFFFFF" link="#FFFFFF" alink="#FFFFFF" vlink="#FFFFFF">
<script language="JavaScript">
<!--
if (document.images) {
image1on = new Image();
image1on.src = "img/startover.png";
image1off = new Image();
image1off.src = "img/header.jpg";
}
function changeImages() {
if (document.images) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
}}}
// -->
</script>
</head>
   <style type=text/css>
       <!-- body {
<body text="#FFA000" link="#FFFFFF" alink="#FFFFFF" vlink="#FFFFFF">
       font-family: Verdana; font-weight: bold;
       } a:link{
       font-family: Verdana; font-weight: bold; color:FFFFFF; text-decoration:none;
       }a{
       font-family: Verdana; font-weight: bold; color:FFFFFF; text-decoration:none;
       } a:hover{
       font-family: Verdana; font-weight: bold; text-decoration:underline; color:FFFFFF;
       } a:visited{
       font-family: Verdana; font-weight: bold; color: FFA000 text-decoration:none;;
       }html {  scrollbar-face-color:FFFFFF;
}#center {
 text-align: center;
}
#select {
 font-family: Verdana; font-weight: bold; color:Orange;
 text-decoration:none; backround-color:Orange;
}
-->
</style>
<body>

</script>

  <div id="page">
     <div id="header"></div>
     <div id="menu">
        [url="nils.html"]Start[/url]   [url="delphi.html"]Delphi[/url]   [url="gb.php"]Gästebuch[/url]   [url="links.html"]Links[/url] [url="impressum.html"]Impressum[/url] [url="tutorials.html"]Tutorials[/url]

     </div>

     <div id="content">
     







     </div>
     <div id="main">
  <table>
  <tr>
  <td width="7"></td>
    <td>
      Willkommen auf nDallmeyer.de ! 


     


      Auf dieser Seite finden sie kostenlose Programme, die weitergegeben werden können.


     


      [b][i]News[/i][/b]


      Bald geht das Programm 'Console' online.
     


    </td>
  </tr>
  </table>
  <hr>

  <center>
  <table>
  <tr>
  <td width="7"></td>
  <td>
     &copy 2006 by Nils Dallmeyer
  </td>
  </tr>
  </table>
  </center>
<!--         Willkommen auf nDallmeyer.de ! 


   


   Auf dieser Seite finden sie kostenlose Programme, die weitergegeben werden können.


         


         [b][i]News[/i][/b]


         Bald geht das Programm 'Console' online.
         


     </div>     -->
  <div id="down">
     







  </div>

  </div>
</body>

</html>
Und die verkürzte Version des Tutorials (mit PHP, läuft nicht):
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  <title>nDallmeyer.de</title>
  <link rel="stylesheet" type="text/css" href="./nils.css" />
  <body text="#FFFFFF" link="#FFFFFF" alink="#FFFFFF" vlink="#FFFFFF">
<script language="JavaScript">
<!--
if (document.images) {
image1on = new Image();
image1on.src = "img/startover.png";
image1off = new Image();
image1off.src = "img/header.jpg";
}
function changeImages() {
if (document.images) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
}}}
// -->
</script>
</head>
   <style type=text/css>
       <!-- body {
<body text="#FFA000" link="#FFFFFF" alink="#FFFFFF" vlink="#FFFFFF">
       font-family: Verdana; font-weight: bold;
       } a:link{
       font-family: Verdana; font-weight: bold; color:FFFFFF; text-decoration:none;
       }a{
       font-family: Verdana; font-weight: bold; color:FFFFFF; text-decoration:none;
       } a:hover{
       font-family: Verdana; font-weight: bold; text-decoration:underline; color:FFFFFF;
       } a:visited{
       font-family: Verdana; font-weight: bold; color: FFA000 text-decoration:none;;
       }html {  scrollbar-face-color:FFFFFF;
}#center {
 text-align: center;
}
#select {
 font-family: Verdana; font-weight: bold; color:Orange;
 text-decoration:none; backround-color:Orange;
}
-->
</style>
<body>

</script>
  <div id="page">
     <div id="header"></div>
     <div id="menu">
        [url="nils.html"]Start[/url]   [url="delphi.html"]Delphi[/url]   [url="gb.php"]Gästebuch[/url]   [url="links.html"]Links[/url] [url="impressum.html"]Impressum[/url] [url="tutorials.html"]Tutorials[/url]
     </div>
     <div id="content">
     







     </div>
     <div id="main">

     <table>
     <tr>
     <td width="7"></td>
     <td>
         [i]Wie programmiere ich einen Texteditor I ? [/i]
         
         <?php
           include('geshi.php');


           $source = 'procedure TForm1.NeuesDokument1Click(Sender: TObject);
           begin
             edit.clear;
           end;';
           $language = 'delphi';
           $path = 'geshi/';

           $geshi = new GeSHi($source, $language, $path);
           $geshi->set_header_type(GESHI_HEADER_PRE);
           $geshi->set_line_style('background: #2D96FF;', true);
           $geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 37);

           echo $geshi->parse_code();
         ?>
         
         <center>
  <hr>
  <table>
  <tr>
  <td width="7"></td>
  <td>
     &copy 2006 by Nils Dallmeyer
  </td>
  </tr>
  </table>
  </center>
     </div>

  <div id="down">
     







  </div>

  </div>
</body>
</html>
  Mit Zitat antworten Zitat