close× Call Us +49 (1805) 01 29 59

Thread Author: Jessica Rethorn
Thread ID: 4085
Thread Info
Es gibt 8 Beiträge zu diesem Thema, und es wurde 6140 mal angesehen.
 Thema drucken
Seiten inhalt zu tief...
Jessica Rethorn
Hallo!

Ich habe ein Problem... Ich habe auf unserer GameSeite eine Hintergrundgrafik im Content eingebaut. Die Grafik wird komplett angezeigt ABER der Inhalt der Seite wird zu tief angezeigt!

Eigentlich ist es gedacht das der Text vor den Grafiken contentmittea.png und contentmitteb.png gezeigt wird... aber er nimmt nur contentmitteb.png :-(

Code

function opentable($title) {
 
echo "<div style='width: 850px; padding-top:20px;'>
   <div style='background: url(".THEME."images/contentoben.png) no-repeat; height:106px;'>
   <div style='padding-left:100px; padding-top:60px;'><h2>$title</h2></div>
   </div>
   <div style='background: url(".THEME."images/contentmittea.png) no-repeat;'>
   <div style='padding-left:70px; width:700px; height:300px'></div>
   </div>
   <div style='background: url(".THEME."images/contentmitteb.png) repeat-y;'>
   <div style='padding-left:70px; width:700px;'>\n";
 
}
 
function closetable() {
 
echo "</div>
   </div>
   <div style='background: url(".THEME."images/contentunten.png) no-repeat; height:106px;'></div>
   </div>
   <table width='100%' cellpadding='0' cellspacing='0'style='width: 800px; margin-left:60px;padding-top:30px;'>
          <tr>
             <td width='100%'  align='center' valign='middle'><img src='".THEME."images/trenner.jpg' alt='' width='550' height='10' /></td>
           </tr>
        </table><br />\n";
 
}

Bearbeitet von Jessica Rethorn am 21.08.2012 00000008 19:51
 
SC-Ad-Bot
 
Septron
Hallo,

versuche es mal so:

Code

function opentable($title) {

echo "<div style='width: 850px;'>
   <div style='background: url(".THEME."images/contentoben.png) no-repeat; height:106px;'>
   <div style='padding-left:100px;'><h2>$title</h2></div>
   </div>
   <div style='background: url(".THEME."images/contentmittea.png) no-repeat;'>
   <div style='padding-left:70px; width:700px; height:300px'></div>
   </div>
   <div style='background: url(".THEME."images/contentmitteb.png) repeat-y;'>
   <div style='padding-left:70px; width:700px;'>\n";
 
}
 
function closetable() {
 
echo "</div>
   </div>
   <div style='background: url(".THEME."images/contentunten.png) no-repeat; height:106px;'></div>
   </div>
   <table width='100%' cellpadding='0' cellspacing='0'style='width: 800px; margin-left:60px;padding-top:30px;'>
          <tr>
             <td width='100%'  align='center' valign='middle'><img src='".THEME."images/trenner.jpg' alt='' width='550' height='10' /></td>
           </tr>
        </table><br />\n";
 
}


Entfernt habe ich mal:
Code

padding-top:20px;
padding-top:60px;


lg Septron
Bearbeitet von am 21.08.2012 00000008 17:07
www.septron.de/signaturen/septron_1.png
 
Jessica Rethorn
Ok Code is ausgetauscht... soweit ich das sehe is nur die Seitenüberschrift hoch gerutscht :-(
Bearbeitet von Jessica Rethorn am 21.08.2012 00000008 14:20
 
Septron
Hallo,

okay dann noch ein kleiner versuch:

Code

function opentable($title) {

echo "<div style='width: 850px;'>
   <div style='background: url(".THEME."images/contentoben.png) no-repeat; height:106px;'>
   <div style='padding-left:100px;'><h2>$title</h2></div>
   </div>
   <div style='background: url(".THEME."images/contentmittea.png) no-repeat;'>
   <div style='padding-left:70px; width:700px; height:300px'></div>
   </div>
   <div style='background: url(".THEME."images/contentmitteb.png) repeat-y;'>
   <div style='padding-left:70px; width:700px;'>\n";
 
}
 
function closetable() {
 
echo "</div>
   </div>
   <div style='background: url(".THEME."images/contentunten.png) no-repeat; height:106px;'></div>
   </div>
   <table width='100%' cellpadding='0' cellspacing='0'style='width: 800px; margin-left:60px;'>
          <tr>
             <td width='100%'  align='center' valign='middle'><img src='".THEME."images/trenner.jpg' alt='' width='550' height='10' /></td>
           </tr>
        </table><br />\n";
 
}


Entfernt wurde dies:
Code

padding-top:20px;
padding-top:60px;
padding-top:30px;


LG Septron
Bearbeitet von am 21.08.2012 00000008 17:08
www.septron.de/signaturen/septron_1.png
 
Jessica Rethorn
Da tut sich dann auch nix :-(
 
Jessica Rethorn
Ok Problem gelöst... Thema erledigt!
 
Septron
und was war es nun ?
www.septron.de/signaturen/septron_1.png
 
Jessica Rethorn
Ich habe andere Bilder genutzt... statt 4 nutze ich jetzt nur noch 3... das mag fusion wohl lieber ^^
 
Springe ins Forum:
Gr@n@dE