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:
<div id="content">
<div id="menu"><?php include("menu.php");?></div>
<td valign="top"><p border="0" align="center"><font size="1">Be Allies:</font></p><font size="1"><p border="0" align="left">Per affiliarsi con Naruto's hour bisogna avere i seguenti requisiti:
1)Il sito non deve contenere materiale vietato ai minori o contro qualsiasi religione
2)Possedere una buona grafica
se avete i seguenti requisiti mandate una mail a kekko_delta28@hotmail.it con i seguenti dati:
Nome Sito: -
Nome WebMaster: -
Mail WebMaster: -
Codice Banner: -
Ecco il nostro banner:
</font></p></div>
</body>
<td width="28"></td></html>