Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 12

Discussione: mi attacca i due menu

  1. #1

    mi attacca i due menu

    codice:
    <html>
    <head>
    <meta http-equiv="Content-Language" content="it">
    <title>Under18</title>
    </head>
    <body topmargin="2" leftmargin="0" vlink="#FFFFFF" alink="#FFFFFF" link="#FFFFFF">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="780" id="AutoNumber1">
      <tr>
        <td width="100%">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
          <tr>
            <td width="297" height="93">[img]images/logo.jpg[/img]</td>
            <td width="483" height="93"></td>
          </tr>
        </table>    <table border="1" cellpadding="0" cellspacing="0" style="border-width:0; border-collapse: collapse; " bordercolor="#111111" width="780" id="AutoNumber3">
          <tr>
            <td width="13" style="border-style:none; border-width:medium; "></td>
            <td width="336" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium"></td>
            <td width="13" style="border-style:none; border-width:medium; "></td>
            <td width="24" style="border-style:none; border-width:medium; " bgcolor="#FFFFFF"></td>
            <td width="14" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom-style:none; border-bottom-width:medium"></td>
            <td width="370" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111"></td>
            <td width="13" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom-style:none; border-bottom-width:medium"></td>
          </tr>
          <tr>
            <td width="13" bgcolor="#4A7DCE" style="border-left:medium none #111111; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium">
            [img]images/left_start.gif[/img]</td>
            <td width="336" bgcolor="#4A7DCE" style="border-left:medium none #111111; border-right-style:none; border-right-width:medium">
            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber4">
              <tr>
                <td width="5%"><font size="1" face="Verdana" color="#FFFFFF">
                [img]images/home.gif[/img]</font></td>
                <td width="45%"><font size="1" face="Verdana" color="#FFFFFF">Imposta 
                come StartPage</font></td>
                <td width="12%">
                <p align="right"><font size="1" face="Verdana" color="#FFFFFF">
                [img]images/preferiti.gif[/img]</font></td>
                <td width="38%"><font size="1" face="Verdana" color="#FFFFFF">Aggiungi 
                ai Preferiti</font></td>
              </tr>
            </table>
            </td>
            <td width="13" bgcolor="#FFFFFF" style="border-left:medium none #111111; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1">
            <p align="right">
            [img]images/left_end.gif[/img]</td>
            <td width="24" bgcolor="#FFFFFF" style="border-left:medium none #111111; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium"></td>
            <td width="14" bgcolor="#4A7DCE" style="border-right:medium none #111111; border-left-style:none; border-left-width:medium; border-top-style:none; border-top-width:medium">
            [img]images/left_start.gif[/img]</td>
            <td width="370" bgcolor="#4A7DCE" style="border-right:medium none #111111; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1">
            <font size="1" face="Verdana" color="#FFFFFF">Benvenuto under18, sono 
            le 10:23 del 06/08/2003</font>        </td>
            <td width="13" bgcolor="#FFFFFF" style="border-right:medium none #111111; border-left-style:none; border-left-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1">
            <font size="1" face="Verdana" color="#FFFFFF">
            [img]images/left_end.gif[/img]</font></td>
          </tr>
          <tr>
            <td width="13" bgcolor="#6791D6" style="border-left-color: #111111; border-left-width: 1; border-bottom-color:#111111; border-bottom-width:1; border-right-style:none; border-right-width:medium"></td>
            <td width="336" bgcolor="#6791D6" style="border-left:medium none #111111; border-bottom-color:#111111; border-bottom-width:1; border-right-style:none; border-right-width:medium"><font face="verdana" size="1" color="#FFFFFF">Quick menu: </font>
            <font face="Verdana" size="1" color="#FFFFFF">Opzioni</font> - 
            <font face="Verdana" size="1" color="#FFFFFF">Modifica Profilo</font> - 
            <font face="Verdana" size="1" color="#FFFFFF">Logout</font>        </td>
            <td width="13" bgcolor="#6791D6" style="border-left:medium none #111111; border-bottom-color:#111111; border-bottom-width:1; border-right-style:none; border-right-width:medium"></td>
            <td width="24" bgcolor="#FFFFFF" style="border-bottom:medium none #111111; border-left-color: #111111; border-left-width: 1; border-top-style:none; border-top-width:medium"></td>
            <td width="14" bgcolor="#6791D6" style="border-right:medium none #111111; border-bottom:1px solid #111111; border-left-style:solid; border-left-width:1"></td>
            <td width="370" bgcolor="#6791D6" style="border-right:medium none #111111; border-bottom:1px solid #111111; border-left-style:none; border-left-width:medium">
            <font face="Verdana" size="1" color="#FFFFFF">Non hai nuovi messaggi privati.</font>        </td>
            <td width="13" bgcolor="#6791D6" style="border-right:1px solid #111111; border-left-style:none; border-left-width:medium; border-bottom-style:solid; border-bottom-width:1"></td>
          </tr>
        </table>
        
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
          <tr>
            <td width="140" valign="top">
            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber6">
              <tr>
                <td width="100%" style="border-bottom-style: solid; border-bottom-width: 1">
                [img]images/menu1.gif[/img]</td>
              </tr>
              <tr>
                <td width="100%" bgcolor="#6791D6" style="border-style:solid; border-width:1; ">
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font><font face="Verdana" size="1" color="#FFFFFF">
    » HomePage
    » 
                Contattaci
    » Chat (off)
    » Forum
    » 
                Staff</font>
    
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font></td>
              </tr>
              <tr>
                <td width="100%" bgcolor="#FFFFFF" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-bottom-style:none; border-bottom-width:medium">
                </td>
              </tr>
              <tr>
                <td width="100%" bgcolor="#FFFFFF" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-bottom-style:solid; border-bottom-width:1; border-top-style:none; border-top-width:medium">
                [img]images/menu2.gif[/img]</td>
              </tr>
              <tr>
                <td width="100%" bgcolor="#6791D6" style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style:solid; border-bottom-width:1">
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font><font face="Verdana" size="1" color="#FFFFFF">
    
                » Computer e Internet
    » Giochi
    » Manga/Anime
    » Motori
    
                » Musica
    » Scuola
    » Sport
    » Telefonia
    » Varie</font>
    
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font></td>
              </tr>
              </table>        </td>
            <td width="500" valign="top">
     <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="500" id="AutoNumber1">
      <tr>
        <td width="100%" valign="top">
        <div align="center">
          <center>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="470" id="AutoNumber2">
            <tr>
              <td width="100%">
              [img]images/menuc1.gif[/img]</td>
            </tr>
            <tr>
              <td width="100%" bgcolor="#6089D5" style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1"></td>
            </tr>
          </table>
            </td>
            <td width="140" valign="top">
                     <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
              <tr>
                <td width="100%" bgcolor="#FFFFFF" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-bottom-style:solid; border-bottom-width:1; border-top-style:none; border-top-width:medium">
                [img]images/menu3.gif[/img]</td>
              </tr>
              <tr>
                <td width="100%" bgcolor="#6791D6" style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style:solid; border-bottom-width:1">
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font>
    
    <font face="Verdana" size="1" color="#FFFFF">» Utenti connessi: 0
    
    » Membri: 0
    
    » Visitatori: 0
    
    » Anonimi: 0            
    
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font></td>
              </tr>
              <tr>
                <td width="100%" bgcolor="#FFFFFF" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-bottom-style:none; border-bottom-width:medium">
                </td>
              </tr>
    cosa c'è di sbagliato? mi attacca il menu centrale con quello di destra... le tabelle mi sembrano apposto, no?
    mi potete scrivere cosa ho sbagliato?

    p.s. questo è uno script in PHP, ma l'output è questo...

    grazieeee

  2. #2
    Non puoi postare un link?
    "Le uniche cose che sbagli sono quelle che non provi a fare."
    Atipica

  3. #3
    codice:
              <tr>
                <td width="100%" bgcolor="#FFFFFF" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-bottom-style:solid; border-bottom-width:1; border-top-style:none; border-top-width:medium">
                [img]images/menu4.gif[/img]</td>
              </tr>
              <tr>
                <td width="100%" bgcolor="#6791D6" style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-bottom-style:solid; border-bottom-width:1">
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font>
    
                <font face="Verdana" size="1" color="#FFFFFF">» aaaaa23</font>
    <font face="Verdana" size="1" color="#FFFFFF">» aaaaa2</font>
    <font face="Verdana" size="1" color="#FFFFFF">» aaaaa</font>
    <font face="Verdana" size="1" color="#FFFFFF">» asd</font>
    <font face="Verdana" size="1" color="#FFFFFF">» perch no?</font>
                <font face="Verdana" color="#6791D6" style="font-size: 5px">d</font></td>
              </tr>
            </table>        </td>
          </tr>
        </table>
    
        <div align="center"><font face="Verdana" size="1">[ Tempo di esecuzione dello script: 0.1122 ] [ 4 query usate ]</font></div>    </td>
      </tr>
    </table>
    </body>
    </html>
    continuo qua perchè nn ci entrava...

  4. #4

  5. #5
    ho risotlooooo
    scusatreeeeeeeeeeeee

    p.s. chje casino però :P

  6. #6
    Scusami la franchezza, ma il tutto è un po' un casino: hai usato le tabelle per impaginare, ma hai usato contemporaneamente i CSS e gli attributi di table per formattarle: border-collapse e border="xx".

    Questo di solito è foriero di casini a non finire: se guardo il tuo sito con un browser che non sia IE, il risultato è quantomeno TRAGICOMICO.

    Visto che usi PHP, cerca di spezzettare la struttura del sito, e testa separatamente ogni elemento, per esempio i vari blocchi azzurri con contorno nero.

    Il problema è sicuramente legato all'uso contemporaneo di CSS e attribut per formattare le tabelle; scegli uno dei due metodi e usa solo quello; ricorda anche di agiungere il colore bianco di sfondo che non lo hai impostato, e preoccupati di fare in modo che tutti i parametri di larghezza ed altezza delle celle che puoi evitare di mettere perchè conseguono da altri già impostati vengano omessi.

    Ciao!
    "Le uniche cose che sbagli sono quelle che non provi a fare."
    Atipica

  7. #7
    Originariamente inviato da ZoneForum
    ho risotlooooo
    scusatreeeeeeeeeeeee

    p.s. chje casino però :P
    cmq bastava aggiungere cellspacing="1" alla tabella interessata

  8. #8

  9. #9
    Originariamente inviato da ZoneForum
    no :P
    a me va come ti ho detto . Come hai risolto

  10. #10
    avevo dimenticato un </table> e un /td> tr

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.