Visualizzazione risultati 1 fino 2 di 2

Discussione: Include e CSS Problema!

  1. #1
    narutoshour non è connesso Neofita
    Data registrazione
    13-10-2008
    Messaggi
    11

    Predefinito Include e CSS Problema!

    Salve scusate ho alcuni problemi col mio sito...insomma ho fatto il css e l'html con i "div" ma quando vado ad inserire l'"include" si sballa tutto...e tra l'altro ho alcuni problemi anche col css che non mi fa visualizzare le immagini..ecco il css:

    Codice:
    html, body {
    	height: 100%;
    	margin: 0;
    	padding: 0;
    }
    body{
    	background-color:#f6f6f6 ;
    	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #707070;
    	text-align: center;/*IE5.x,IE6*/
    }
    body>#container {
    	height: auto;
    	min-height: 100%;
    }
    
    
    
    /*LINK*/
    a {text-decoration: none; font-family: Tahoma; font-size: 10px; color: #929292;}
    a:visited {text-decoration: none; color: #929292;}
    a:hover {
    color: #000000;
    border-bottom: 1px dotted gray;
    }
    
    
    
    /* CONTAINER */
    #container{
    	background: url('tab.png') repeat-y;
    	width: 982px;
    	height: auto;
    	margin: 0 auto;
    	text-align: left; /*IE5.x,IE6*/
    	position: relative; /*Permette l'allineamento degli oggetti rispetto al container*/
    }
    
    
    /* HEADER */
    #header{
    	background-image: url('header.png');
    	height: 187px;
    	margin: 0;
    	padding: 0;
    }
    
    
    /* ADD */
    a#pref{
    	position: absolute;
    	left: 746px;
    	top: 16px;
    	height: 14px;
    	width: 200px;
    }
    
    
    /* LOGIN-PANEL */
    #login{
    	position: absolute;
    	left: 665px;
    	top: 25px;
    	height: 150px;
    	width: 248px;
    	overflow: auto;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #ffffff;
    	text-align: center;/*IE5.x,IE6*/
    
    }
    a {text-decoration: none; font-family: Tahoma; font-size: 10px; color: #ffffff;}
    a:visited {text-decoration: none; color: #ffffff;}
    a:hover {
    color: #000000;
    border-bottom: 1px dotted gray;
    }
    
    
    /* MENU' */
    a#men1{
    	position: absolute;
    	left: 210px;
    	top: 159px;	
    	width: 45px;
    	height: 18px;	
    }
    a#men2{
    	position: absolute;
    	left: 291px;
    	top: 159px;	
    	width: 45px;
    	height: 18px;	
    }
    a#men3{
    	position: absolute;
    	left: 353px;
    	top: 159px;	
    	width: 45px;
    	height: 18px;	
    }
    a#men4{
    	position: absolute;
    	left: 423px;
    	top: 159px;	
    	width: 37px;
    	height: 18px;
    }
    a#men5{
    	position: absolute;
    	left: 476px;
    	top: 159px;	
    	width: 58px;
    	height: 18px;
    }
    a#men6{
    	position: absolute;
    	left: 553px;
    	top: 159px;	
    	width: 58px;
    	height: 18px;
    }
    a#men7{
    	position: absolute;
    	left:632px;
    	top: 159px;	
    	width: 74px;
    	height: 18px;
    }
    a#men8{
    	position: absolute;
    	left: 725px;
    	top: 159px;	
    	width: 36px;
    	height: 18px
    }
    
    
    
    /* IMMAGINE LINK */ 
    #image{
            background-image: url('centrale.png');
            height: 158px;
            width: 773px;
            margin-left: 227px;
            margin-top: 194px;
    
    
    }
    
    
    
    /* LINK STATICI */
    a#reg{
    	position:absolute;
    	left: 452px;
    	top: 241px;
    	height: 8px;
    	width: 42px;
    }
    a#mail{
    	position: absolute;
    	left: 407px;
    	top: 253px;
    	height: 8px;
    	width: 20px;
    }
    a#dona{
    	position: absolute;
    	left: 638px;
    	top: 268px;
    	height: 8px;
    	width: 18px;
    }
    a#topic{
    	position: absolute;
    	left: 565px;
    	top: 284px;
    	height: 8px;
    	width: 42px;
    }
    a#foru{
    	position: absolute;
    	left: 229px;
    	top: 294px;
    	height: 8px;
    	width: 32px;
    }
    a#cons{
    	position: absolute;
    	left: 454px;
    	top: 312px;
    	height: 8px;
    	width: 18px;
    }
    
    
    /* LATESTS */
    #manga{
    	position: absolute;
    	left: 638px;
    	top: 192px;
    	min-height: 42px;
    	max-height: 80px;
    	height: auto;
    	width: 120px;
    	color: #ffffff;
    }
    #anime{
    	position: absolute;
    	left: 788px;
    	top: 192px;
    	min-height: 42px;
    	max-height: 80px;
    	height: auto;
    	width: 120px;
    	color: #ffffff;
    }
    #manga a{color: #ffffff}
    #anime a{color: #ffffff}
    #anime a:visited{color: #ffffff}
    #manga a:visited{color: #ffffff}
    #manga a:hover {color: #000000;border-bottom: 1px dotted gray;}
    #anime a:hover {color: #000000;border-bottom: 1px dotted gray;}
    
    
    /* NAVIGATION */
    #navigation{
    	position: center;
    	margin-top: 10px;
    	width: 213px;
             overflow: auto;	
             font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	text-align: center;/*IE5.x,IE6*/
    
    }
    
    }
    a {text-decoration: none; font-family: Tahoma; font-size: 10px; color: #929292;}
    a:visited {text-decoration: none; color: #929292;}
    a:hover {
    color: #707070;
    border-bottom: 1px dotted gray;
    }
    
    
    
    
    /* CONTENENT */
    #contents{
    	position: absolute;
    	height: auto; 
    	width:763px;
    	left: 222px;
    	top: 356px;
    	overflow: auto;	
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	
    	text-align: center;/*IE5.x,IE6*/
    
    }
    a {text-decoration: none; font-family: Tahoma; font-size: 10px; color: #929292;}
    a:visited {text-decoration: none; color: #929292;}
    a:hover {
    color: #000000;
    border-bottom: 1px dotted gray;
    }
    
    /* FOOTER */
    #footer{
    	background-image: url('footer.png');
    	margin: 0;
    	padding: 0;
    	height: 189px;
    }
    
    a {text-decoration: none; font-family: Tahoma; font-size: 10px; color: #929292;}
    a:visited {text-decoration: none; color: #929292;}
    a:hover {
    color: #000000;
    border-bottom: 1px dotted gray;
    }
    /* CREDITS */
    #credit{
    	position: relative;
    	
    	margin-top: 20px;
    	min-height: 42px;
    	height: auto;
    	width: 213px;
    }
    
    
    /*TAG-BOARD*/
    #tag{
    	position: relative;
    	
    	margin-top: 30px;
    	height: auto;
    	width: 213px;
    }
    
    
    /*ALLIES*/
    #allies{
    	position: relative;
    	
    	margin-top: 30px;
    	min-height: 62px;
    	height: auto;
    	width: 213px;
    	overflow: auto;
    }
    a {text-decoration: none; font-family: Tahoma; font-size: 10px; color: #929292;}
    a:visited {text-decoration: none; color: #929292;}
    a:hover {
    color: #000000;
    border-bottom: 1px dotted gray;
    }
    
    /*STATS*/
    #stats{
    position: relative;
    	
    	margin-top: 10px;
    	height: 62px;
    	width: 213px;
    	overflow: auto;
    }
    PHPH/Include
    Codice PHP:
    <div id="content">
    <div id="menu"><?php include("menu.php");?></div>
    <td valign="top"><p border="0" align="center"><font size="1"><b>Be Allies:</b></font></p><font size="1"><p border="0" align="left">Per affiliarsi con Naruto's hour bisogna avere i seguenti requisiti:<br>1)Il sito non deve contenere materiale vietato ai minori o contro qualsiasi religione<br>
    2)Possedere una buona grafica<br>
    se avete i seguenti requisiti mandate una mail a kekko_delta28@hotmail.it con i seguenti dati:<br>Nome Sito: -<br>

    Nome WebMaster: -<br>
    Mail WebMaster: -<br>
    Codice Banner: -<br>

    Ecco il nostro banner:<br><img src="http://narutoshour.altervista.org/img/banner13.png"></font></p></div>
    </body>
    <td width="28"></td></html>


    ringrazio anticipatamente a coloro che mi aiuteranno :D

  2. #2
    narutoshour non è connesso Neofita
    Data registrazione
    13-10-2008
    Messaggi
    11

    Predefinito menu.php

    menu.php
    Codice PHP:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">

    <head>
    <!-- Begin Header -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Naruto's Hour-Version 6.0</title>
    <meta name="keywords" content="Download, ScanIta, Onepiece, Bleach, Naruto, Spoiler, Full Metal Alchemist, FairyTail, Hentai, Scan,, Manga, Anime, Streaming, Fansub, Multimedia, Personaggi, Gif, Immagini, Tutorial, naruto shippuden, sasuke, ichigo, sakura, jiraya, kakashi,">
    <meta name="title" content="Naruto's Hour - Created By: Condor555">
    <meta name="description" content="Naruto's Hour è un sito Italiano dedicato al manga di Naruto ricco di streaming e di download. E' una community virtuale che si interessa del vastissimo universo di Naruto Fra gli svariati contenuti del sito/forum potrai trovare le news più interessanti, le curiosità sui nuovi capitoli e tanto altro ancora. Naruto's Hour: se vuoi sapere tutto su Naruto, la tua scelta siamo noi.">
    <meta name="Language" content="Italian">
    <meta name="copyright" content="Kikko">
    <meta name="author" content="Kikko">

    <!-- Import -->
    <link rel="stylesheet" type="text/css" href="style.css">
    <script type="text/javascript" language="javascript" src="/add.js"></script>
    <!-- End Header -->
    </head>

    <body>
    <!-- Body -->
    <div id="container">
    <!-- Begin header image -->
    <div id="header">

    <!-- BEGIN LOGIN-PANEL -->
    <div id="login"><p align="left">
    <form method="post" action="forum/ucp.php?mode=login">
    <input style="background-image: url(http://narutoshour.altervista.org/NHH/logba.png);border:0px; background-repeat: no-repeatborder:0px none;" type="text" name="username" id="username" value="Username" onfocus="if(this.value == 'Username') this.value = ''" onblur="if(this.value == '') this.value = 'Username'" tabindex="1" class="ulinput1"/><br><br>
    <input style="background-image: url(http://narutoshour.altervista.org/NHH/logba1.png);border:0px; background-repeat: no-repeatborder:0px none;" type="password" name="password" id="password" style="margin-top:2px;" value="Password" onfocus="if(this.value == 'Password') this.value = ''" onblur="if(this.value == '') this.value = 'Password'" class="ulinput2"/><br />
    <div class="ulspace"></div>
    <div style="float:left;"><label for="autologin">Remember Me?: </label><input type="checkbox" name="autologin" id="autologin" /></div><br>
    <div style="float:right;"><input type="submit" value="Invia" name="login" class="ulpuls" />
    <input type="hidden" name="redirect" value="../index.php" /></div>
    </form><br>
    <div class="ulspace"></div><div class="ulspace"></div><div style="float:left;">
    <div class="ulbgb">&nbsp;- <a href="http://www.narutoshour.altervista.org/forum/ucp.php?mode=sendpassword">Password Dimenticata</a>?</div>
    <div style="float:left;"><div class="ulbgb">&nbsp;- <a href="http://www.narutoshour.altervista.org/forum/ucp.php?mode=register">Registrati</a>!</div></div>
    </div></p></div>
    <!-- END LOGIN-PANEL -->

    <!-- BEGIN MENU'-->
    <a id="men1" href="/home.php"></a>
    <a id="men2" href="/forum/"></a>
    <a id="men3" href="/gallery"></a>
    <a id="men4" href="/chat/"></a>
    <a id="men5" href="/top100/"></a>
    <a id="men6" href="/forum/ucp.php?mode=register"></a>
    <a id="men7" href="/disclaimer.php"></a>
    <a id="men8" href="/staff1.php"></a>
    <!-- END MENU' -->

    <!-- BEGIN LINKS -->
    <a id="reg" href="/forum/ucp.php?mode=register"></a>
    <a id="mail" href="kekko_delta28@hotmail.it"></a>
    <a id="dona" href="#"></a>
    <!-- END LINKS -->

    <!-- BEGIN LATESTS -->
    <div id="manga">
    <?php include ("manga.htm"); ?>
    </div>
    <div id="anime">
    <?php include ("anime.htm"); ?>
    </div>
    <!-- END LATESTS -->
    </div>
    <!-- End header image -->

    <!-- BEGIN NAVIGATION LAYER -->
    <div id="navigation"> <p align="center">
    <table>
    <tr><td width="64" align="left"><a href="">-Home</a></td>
    <td width="64" align="left"><a href="/forum/">-Forum</a></td></tr><tr>
    <td width="64" align="left"><a href="/staff1.php">-Staff</a></td>
    <td width="64" align="left"><a href="/cutenews/index.php">-Login</a></td>
    </tr><tr>
    <td width="64" align="left"><a href="/allies.php">-Be allies</a></td>
    <td width="64" align="left"><a href="/disclaimer.php">-Desclamair</a></td>
    </tr><br><div class="menuimages"><img src="infonaruto1.png"></div><tr><td width="64" align="left"><a href="/infomanga.php">-Manga</a></td>
    <td width="64" align="left"><a href="/epshippuuden.php">-Ep.Shipp.</a></td>
    </tr><tr>
    <td width="64" align="left"><a href="/masashi.php">-Autore</a></td>
    <td width="64" align="left"><a href="/chakra.php">-Chakra</a></td></tr><tr>
    <td width="64" align="left"><a href="/ranking.php">-Ranking</a></td>
    <td width="64" align="left"><a href="/villaggi.php">-Villaggi</a></td>
    </tr><tr>
    <td width="64" align="left"><a href="/jutsu.php">-Jutsu</a></td>
    <td width="64" align="left"><a href="/innate.php">-Innate</a></td></tr><tr>
    <td width="64" align="left"><a href="/hokage.php">-Hokage</a></td></tr><br><div class="menuimages"><img src="personagginaruto1.png"></div><tr>
    <td width="64" align="left"><a href="/#">-Kimimaro</a></td>

    <td width="64" align="left"><a href="/#">-Naruto</a></td></tr><tr>
    <td width="80" align="left"><a href="/sannin.php">-Sannin</a></td>
    <td width="80" align="left"><a href="/ita.php">-Itachi</a></td></tr><tr>
    <td width="80" align="left"><a href="/sas.php">-Sasori</a></td>

    <td width="80" align="left"><a href="/gaa.php">-Gaara</a></td></tr><tr>
    <td width="80" align="left"><a href="/zetsu.php">-Zetsu</a></td>
    <td width="80" align="left"><a href="/#">-Kisame</a></td></tr><tr><br><div class="menuimages"><img src="spoilersnaruto1.png"></div>
    <td width="80" align="left"><a href="/#">-Yamato</a></td>

    <td width="80" align="left"><a href="/#">-Pein</a></td></tr><tr>
    <td width="80" align="left"><a href="/#">-Akatsuki</a></td>
    <td width="80" align="left"><a href="/#">-Konan</a></td></tr><tr>
    <td width="80" align="left"><a href="/#">-Eremita</a></td>
    <td width="80" align="left"><a href="/#">-Kushina</a></td></tr><tr><td width="80" align="left"><a href="/#">-Sai</a></td><td width="80" align="left"><a href="/#">-Namikaze</a></td>
    </tr><tr><div class="menuimages"><img src="curiositanaruto1.png"></div>
    <td width="80" align="left"><a href="/#">-Albero</a></td>
    <td width="80" align="left"><a href="/#">-Fusioni</a></td></tr><tr>
    <td width="100" align="left"><a href="/#">-Kak. mouth</a></td>
    <td width="60" align="left"><a href="/#">-A. Mask</a></td>
    <tr>
    <td width="64" align="left"><a href="//#">-Nar. a Film</a></td>
    <td width="80" align="left"><a href="/#">-Vestiti Sasu</a></td></tr><tr><div class="menuimages"><img src="multimedianaruto1.png"></div>
    <td width="80" align="left"><a href="/#">-Capitoli</a></td>
    <td width="80" align="left"><a href="/#">-Anime</a></td></tr><tr>

    <td width="80" align="left"><a href="/#">-Bleach Cap.</a></td>
    <td width="80" align="left"><a href="/#">-OP Cap.</a></td></tr><tr>
    <td width="80" align="left"><a href="/#">-.Hack</a></td>
    <td width="80" align="left"><a href="/#">-Bleach Ep.</a></td>
    </tr><tr>
    <td width="80" align="left"><a href="/#">-Movie</a></td>
    <td width="80" align="left"><a href="/#">-Gallery</a></td>
    </table>
    </div>
    <!-- END NAVIGATION LAYER -->

    <img src="tagboardnaruto1.png"> <!-- BEGIN TAG-BOARD -->
    <div id="tag">
    <div id="cboxdiv" style="text-align: center; line-height: 0">
    <div><iframe frameborder="0" width="190" height="115" src="http://www3.cbox.ws/box/?boxid=3052229&amp;boxtag=9975&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: 0px solid;" id="cboxmain"></iframe></div>
    <div><iframe frameborder="0" width="190" height="75" src="http://www3.cbox.ws/box/?boxid=3052229&amp;boxtag=9975&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px" id="cboxform"></iframe></div>
    </div>
    </div>
    <!-- END TAG-BOARD -->

    <!-- BEGIN ALLIES AREA --><img src="alliesnaruto1.png">
    <div id="allies">
    <?php include ("affiliati.htm"); ?>
    </div>
    <!-- END ALLIES AREA -->
    <img src="statistichenaruto1.png">
    <!-- Histats.com START -->
    <div id="stats">
    <?php include ("counter.htm"); ?>
    </div>
    <!-- Histats.com END --></p>
    <!-- Begin immagine link --><!-- Begin immagine link image -->
    <!-- BEGIN LINKS -->
    <a id="reg" href="/forum/ucp.php?mode=register"></a>
    <a id="mail" href="kekko_delta28@hotmail.it"></a>
    <a id="dona" href="#"></a>
    <!-- END LINKS -->
    <!-- End immagine link image --><!-- End immagine link -->
    <!-- BEGIN CONTENTS AREA -->
    scusate il doppio post ma nel precendente messaggoi non riuscivo ad inserire questo :D

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •