Visualizzazione dei risultati da 1 a 4 su 4

Discussione: bordi.

  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2000
    Messaggi
    1,175

    bordi.

    allora ho questo file:
    Codice PHP:
    <?
    include ("include/var.php");
    echo 
    "<table border='0' width='100%'>
      <tr>
        <td width='100%'><div id='statp'><font class=titolo>Statistiche</font></div></td>
      </tr>
      <tr>
        <td width='100%'>
          <hr size='0' noshade color='#000000' width='97%'>
        </td>
      </tr>
      
    "
    ;
    include(
    "include/useronline.php3");
    include(
    "include/wmcounter.php");
    $visitors daily_count("","");
    echo 
    "<div id='stats'>";
    echo 
    "
    <h4>
    $marianovar</h4>";
    echo 
    "<h4>Visite oggi: $visitors[0]</h4>"
    echo 
    "<h4>Visite totali: $visitors[1]</h4>"

    $db = @mysql_connect($server$user$pass) or die ("Connessione non effettuata...");
    mysql_select_db($db_name$db) or die("Errore nella selezione...");
    $query "SELECT * FROM id_group";
    $exec mysql_query($query) or die("Errore nella query");
    $num mysql_num_rows($exec);
    echo 
    "<h4>Artisti presenti nel DB: $num</h4>";

    $query2 "SELECT * FROM lyrics";
    $exec2 mysql_query($query2) or die("Errore nella query");
    $num2 mysql_num_rows($exec2);
    echo 
    "<h4>Canzoni presenti nel DB: $num2</h4>
    "
    ;

    mysql_close($db);
    echo
    "<tr>";
    echo
    "<td width='100%'><div id='statp'><font class=titolo>prova</font></div></td><tr>";
    echo
    "<tr><td width='100%'><div id='statp'><font class=titolo>prova</font></div></td>";
    echo
    "</tr></div></table>";
    ?>
    La prima cella <td> quella con dentro scritto statistiche č perfetta e non ha i bordi.
    se uso lo stesso codice perō dopo per fare altre due celle <td>(prova e prova2) ci sono i bordi settati a 1 (vedi allegato)

    Chi mi sā aiutare? ho postato qui perchč benchč sia scritta in PHP la sintassi č sempre quella HTML
    un grosso grazie a chi mi aiuta il problema e mi dice un po' dove sbaglio perchč mi sā che ho perso dei tag mentre smanettavo col PHP
    Immagini allegate Immagini allegate

  2. #2
    c'č un </div> di troppo nell'ultima riga ma nn so se sia questo il problema...cmq devi postare anche il css altrimenti nn ti posso aiutare..
    by AnTr86

    ..:: AUDAX ::..

  3. #3
    Utente di HTML.it
    Registrato dal
    Sep 2000
    Messaggi
    1,175
    Originariamente inviato da AnTr
    c'č un </div> di troppo nell'ultima riga ma nn so se sia questo il problema...cmq devi postare anche il css altrimenti nn ti posso aiutare..
    body { background-color: silver; }

    h1 { font-family: Verdana; font-size: 8 pt; color: #000000; font-weight: bold; text-align: right }
    h2 { font-family: Verdana; font-size: 10 pt; color: #000000; font-weight: normal; text-align: left; line-height: 1em; text-indent: 1em;}
    h3 { font-family: Verdana; font-size: 10 pt; color: #000000; font-weight: bold; text-align: left; line-height: 1.5em; text-indent: 1em;}
    h4 { font-family: Verdana; font-size: 8 pt; color: #000000; font-weight: normal; text-align: left; line-height: 0px; text-indent: 1em }
    .titolo { font-family: Verdana; font-size: 10 pt; color: navy; font-weight: bold; text-align: left; text-decoration: none }

    A:link { font-family: Verdana; font-size: 10 pt; color: navy; font-weight: bold; text-align: left; text-decoration: none }
    A:visited { font-family: Verdana; font-size: 10 pt; color: navy; font-weight: bold; text-align: left; text-decoration: none }
    A:hover { font-family: Verdana; font-size: 10 pt; color: navy; font-weight: bold; text-align: left; text-decoration: underline }

    #stats {
    width: 300px; height:70px; position: relative; bottom: 21px; left: 0px;}
    #statp {
    width: 100px; height:10px; position: relative; top: 12px; left: 8px;}
    #pby {
    background: red; width: 100px; height:10px; position: relative; top: 12px; left: 8px;}

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2000
    Messaggi
    1,175
    up

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.