Einzelnen Beitrag anzeigen
  #3 (permalink)  
Alt 13.12.2010, 13:45
AndMei AndMei ist offline
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 13.12.2010
Beiträge: 5
AndMei befindet sich auf einem aufstrebenden Ast
Standard

Danke erstmal für deinen Post...

Dann will ich doch hier gleich mal den kompletten Code posten.

hier der Code der Templatedatei...
HTML-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de" dir="ltr">
 <head>
<link rel="shortcut icon" href="animated1_favicon.gif" type="image/x-icon">
  <script language="JavaScript" type="text/javascript">
   function onImage(what) {
        document.images[what].src='img/design/button_'+what+'_hover.png';
   }
   function offImage(what) {
        document.images[what].src='img/design/button_'+what+'.png';
   }
  </script>



  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="expires" content="Wed, 20 Feb 2000 08:30:00 GMT" />
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"/>

  <title>%config_sitetitle%</title>
  <css>style.css</css>
  %popup%
  </head>
 <body>
    <center>
    <div id="main">
 <include>json</include>
     <div style="background-image:url(img/design_neu/header_bg.png); background-repeat:no-repeat; height:111px; width:916px;"><div align="left"><img src="img/design_neu/headerani.gif" alt="Header"/></div></div>
     <div id="mini">
<!--<font color="#ffffff" size="3"><b><format>%globalpot_small%</format></b></font>-->
</div>
<div id="midi">
<!--<font color="#ffffff" size="3"><b><format>%globalpot_middle%</format></b></font>-->
</div>
<div id="maxi">
<font color="#00045e" size="5"><b><format>%globalpot_big%</format></b></font>
</div>
<div id="maxi2">
<font color="#3ccd38" size="5"><b><format>%globalpot_big%</format></b></font>
</div>

<include>navi</include>

<!--<include>globalticker</include>-->

     <div id="leftmenu">
     <include>leftmenu</include>
     </div>


 <div id="logo"></div>
 <if var="loggedon" value="1" id="2"><then id="2"><div id="pinboard"><include>pinboard</include></div></then id="2"></if id="2">

 <div id="content">
  <include>%page%</include>
  <include>footer</include>
 </div>

 <div id="rightmenu">
  <include>rightmenu</include>
 </div>
          <div id="login">
  <form name="login" action="page.php?cat=default&amp;p=login_do" method="post">
  <div style="position:absolute;  top:3px; right:170px;"><font color="blue">ID:</font></div>
  <div style="position:absolute;  top:0px; right:60px;"><font color="blue"><input type="text" name="u_id" lenght="10" style="background : transparent;  width:100px; border:0px;" size="30" value="deine ID"  onclick="value=''"/></font></div>
  <div style="position:absolute;  top:26px; right:170px;"><font color="blue">PW:</font></div>
  <div style="position:absolute;  top:24px; right:60px;"><font color="blue"><input type="password" name="u_pwd" height="10" lenght="10" style="background : transparent; width:100px; border:0px;" size="30" value="Passwort" onclick="value=''"/></font></div>
  <div style="position:absolute;  top:0px; right:0px; border:0px;"><input type="image" src="img/design_neu/go.png" alt="Go" border="0">
  <div style="position:absolute;  top:48px; right:62px; width:100px;"><font color="blue" size="1"><a href="page.php?cat=default&amp;p=forgotpwd">Passwort vergessen?</a></font></div>
</form>
</div>
</div></div></center>
 </body>
</html>
und hier die gesamte css
Code:
/* **************** cascading style sheet ******************* */

a {
        color: #C0C0C0;
        text-decoration: none;
}

a:hover {
        /*color: #c0c0c0;*/
        text-decoration: underline;
        background-color: none;

}

body {
        background: url(img/design_neu/bg.png) repeat-x #370303;
        color: #C0C0C0;
        font-size: 12px;
        font-family: sans-serif;
        margin: 0;
        padding: 0;
        height: 100%;
}

img {
        border: 0;
}

table {
        font-size: 12px;
        font-family: Verdana;
        color: #c0c0c0;
}

input, textarea, select, file {
        font-size:12px;
        border: 1px solid;
        background-color: #ffffff;
        color: #000000;
}


#rotator {
        position: absolute;
        top: 60px;
        left: 450px;
}


#login {
       position: absolute;
       top: 90px;
       right: 18px;
       height: 100px;
       width: 210px;
       background-image: url(img/design_neu/login_bg.png);
       background-repeat: no-repeat;
}

#navi {
        position: absolute;
        top: 111px;
        background: url(img/design_neu/navi_bg.png);
        height: 30px;
        width: 916px;
}

*.navi_co {
        padding-top:0px;
        padding-left: 14px;
        font-size:16px;
        font-weight: bold;
}


#pinboard {
        /*background-image: url(img/design/pn_news_zettel.png); */
        position: absolute;
        left: 750px;
        top: 172px;
        width: 150px;
        height: 78px;
        z-index: 4;
}

#pinboard_content {
        position: absolute;
        top: 20px;
        left: 20px;
        font-weight: bold;
        font-size: 10px;
        color: #150185;
        border: none;
}

#pinboard_content a {
        color: #150185;
}


#shoutbox {
        height: 520px;
        width: 480px;
        background: url(img/design/bg.jpg) repeat-x #ffffff;
}

#shouts_add {
        border: 1px solid #333333;
        font: 12px bold Verdana;
        width: 480px;
}

*.shouts {
        border: 1px solid #ffffff;
}

*.shouts_head {
        background-color: #ffffff;
        font-size: 12px;
        font-weight: bold;
        margin-left: 3px;
}

*.shouts_body {
        background-color: #ffffff;
        font-size: 12px;
        margin-left: 3px;
}

*.grey {
        color: #000000;
}

#content {
        position: absolute;
        color:#c0c0c0;
        background: #581616;
        left: 180px;
        width: 555px;
        top: 141px;
        z-index: 2;
}

*.box {
        width: 550px;
}



*.box_title {
        text-align: left;
        color: #e1ca69;
        position: relative;
        top: 11px;
        left: 35px;
        /*font-weight: bold;*/
}

*.box_head {
        height: 32px;
        background: url(img/design_neu/content_head.png);
        position: relative;
        top: 10px;
}

*.box_middle {
        background: url(img/design_neu/content_middle.png);
}

*.box_content {
        text-align: center;
        width: 500px;
        position:relative;
        top:15px;
}


*.box_footer {
        background: url(img/design_neu/content_foot.png);
        height: 20px;
}

*.jackpot_games_home {
        color: #000000;
}

#layer1 {
        color: #FFF1E0;
}

#layer2 {
        color: #000000;
}

#layer3 {
        color: #000000;
}

#layer4 {
        color: #000000;
}

#layer5 {
        color: #000000;
}

#nickpage_text {
        position: relative;
        top: 0px;
        left: 20px;
        text-align: left;
}

#nickpage_avatar {
        position: absolute;
        top: 5px;
        right: 5px;
}

#main {
        z-index:0;
        background-image:url(img/design_neu/page.png);
        background-repeat: repeat-y;
        width: 916px;
        height:100% !important;
        min-height: 100% !important;
        margin:0;
        padding:0;
        font-size: 12px;
        position: relative;
        border: 1px solid white;
}


*.menucontent {
        position: relative;
        width: 140px;
        left: 0px;
        text-align: left;
        font-family: Verdana;
        font-size: 12px;
        color: #e1ca69;
        font-weight: bold;
}

*.submenucontent a {
        display: block;
        color: #e1ca69;
        font-weight: normal;
}

*.submenucontent a:hover {
        background: none;
        display: block;
        /*color: #c0c0c0;*/
}

*.submenucontent {
        position: relative;
        width: 168px;
        top: 0px;
        left: 15px;
        text-align: left;
        font-size: 14px;
        font-family: Tahoma;
        color: #e1ca69;
        font-weight: bold;
        font-style: normal;
        line-height: 22px;
}

*.rightmenucontent a {
        display: block;
}


*.wiw_admin {
        color: #ff0000;
        font-weight: bold;
}

a.wiw_admin:link, a.wiw_admin:active, a.wiw_admin:visited {
 color: #ff0000;
}

*.wiw_male {
        color: #429afc;
}

a.wiw_male:link, a.wiw_male:active, a.wiw_male:visited {
 color: #429afc;
}

*.wiw_female {
        color: #f196f9;
}

a.wiw_female:link, a.wiw_female:active, a.wiw_female:visited {
 color: #f196f9;
}

*.rightmenucontent a:hover {
        background: none;
        display: block;
        /*color: #ffffff;*/
}

*.rightmenucontent {
        position: relative;
        width: 135px;
        top: 0px;
        left: 0px;
        text-align: left;
        font-size: 14px;
        font-family: Tahoma;
        line-height: 22px;
        color: #e1ca69;
}

#leftmenu {
        background-image:url(img/design_neu/leftmenu_bg.png);
        background-repeat:repeat-y;
        width: 180px;
        position: absolute;
        left: 0px;
        top: 141px;
        height:auto !important; /* real browsers */
        height:100%; /* IE6: treaded as min-height*/

        min-height:100%; /* real browsers */

}


#leftmenu_title {
        color: #e1ca69;
        text-align: left;
        position: relative;
        top: 13px;
        left: 35px;
        font-weight: bold;
}

#leftmenu_head {
        color: #e1ca69;
        background: url(img/design_neu/menu_head.png) no-repeat;
        height: 38px;
        width: 168px;
        position: relative;
        left: 5px;
        top: 10px;
}

#leftmenu_head_middle {
        color: #e1ca69;
        background: url(img/design_neu/menu_head_middle.png) no-repeat;
        height: 30px;
        width: 168px;
        position: relative;
        left: 5px;
        top: 10px;
}

#leftmenu_middle {
        background: url(img/design_neu/menu_middle.png);
        position: relative;
        width: 168px;
        left: 5px;
        top: 10px;
}

#leftmenu_footer {
        background: url(img/design_neu/menu_footer.png);
        position: relative;
        top: 10px;
        left: 5px;
        height: 30px;
        width: 168px;
}


#rightmenu_title {
        text-align: left;
        position: relative;
        top: 13px;
        left: 35px;
        font-weight: bold;
}

#rightmenu {
        background-image:url(img/design_neu/rightmenu_bg.png);
        background-repeat:repeat-y;
        width: 180px;
        position: absolute;
        right: 1px;
        top: 141px;
        height:auto !important; /* real browsers */
        height:100%; /* IE6: treaded as min-height*/

        min-height:100%; /* real browsers */

}

#rightmenu_head {
        background: url(img/design_neu/menu_head.png);
        height: 38px;
        width: 168px;
        position: relative;
        right: 5px;
        top:10px;
}

#rightmenu_middle {
        background: url(img/design_neu/menu_middle.png);
        position: relative;
        right: 5px;
        width: 168px;
        top:10px;
}

#rightmenu_bottom {
        background: url(img/design_neu/menu_footer.png);
        height:30px;
        position: relative;
        right: 5px;
        top:10px;
        width: 168px;
}

#rightmenu_wio_head {
        background: url(img/design/navigation_01.png);
        height: 35px;
        position: relative;
        right: 5px;
        width: 168px;
}

#rightmenu_wio_middle {
        background: url(img/design/navigation_02.png);
        position: relative;
        right: 5px;
        width: 168px;
}

#rightmenu_wio_footer {
        background: url(img/design/navigation_03.png);
        height: 20px;
        position: relative;
        right: 5px;
        width: 168px;
}

#footer {
        background: url(img/design/footer.png);
        height: 42px;
}

*.footer_co {
        padding-top:7px;

}

*.news_subject {
        background-color: #6699cc;
}

*.tv_item {
        width: 450px;
        font-size: 10px;
        text-align: left;
        position: relative;
        left: 40px;
}

*.paid_up {
        font-size:10px;
}

*.headline {
        background-color: #6699cc;
        color: #000000;
        font-weight: bold;
}

*.explanation {
        background-color: #79a2c5;
        font-weight: bold;
}
*.coloredlink {
        color: #09bb00;
        text-decoration: none;
        font-weight: bold;
}

*.paid4 {
        background-color: #6699cc;
}
*.question {
        font-style: italic;
        color: #009900;
        text-align: left;
}
*.answer {
        color: #000000;
        text-align: left;
}

.mooquee {
        border: solid 2px #C0C0C0;
        padding: 5px;
        /* don't change */
        position: absolute;
        overflow: hidden;
        white-space: nowrap;
}
.mooquee-text {
        /* don't change */
        position: absolute;
}

#showpn {
        visibility: hidden;
        width: 350px;
        height: 100px;
        border: 1px solid #000;
        background-color: #ffffff;
        position: absolute;
        z-index: 5;
        top: 250px;
        left: 100px;
        padding: 10px 10px;
}

#nav_jp_winner {
        position: absolute;
        top: 126px;
        left: 760px;
        width: 152px;
        height: 55px;
        z-index: 1;
}

#jp_winner_trans {
        position: absolute;
        top: 126px;
        left: 760px;
        width: 152px;
        height: 55px;
        z-index: 2;
}

.games_bold {
                  color: #7CFC00;

}

.games_red {
                  font-weight: bold;
        color: #FF0000;

}

#globalticker {
        top: 127px;
        left: 140px;
        z-index: 5;
        height: 10px;
        width: 500px;
}
#mini {
        position: absolute;
        left: 710px;
        top: 120px;
}

#midi {
        position: absolute;
        left: 480px;
        top: 120px;
}

#maxi {
        position: absolute;
        left: 460px;
        top: 68px;
}
#maxi2 {
        position: absolute;
        left: 462px;
        top: 70px;
}
Die Page, wo ihr auch den Rahmen seht, ist hier zu finden.

Ich habe schon hier und da gelesen, dies und jenes ausprobiert aber irgendwie schau ich hier wie ein Schwein ins Uhrwerk.

Wo hab ich da nen Fehler drin?

Danke für Eure Hilfe!
Mit Zitat antworten