Visualizzazione dei risultati da 1 a 2 su 2

Discussione: tabelle html

  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2007
    Messaggi
    1,171

    tabelle html

    è possibile nelle tabelle creare il bordo solo ad alcune celle?

  2. #2
    Utente bannato
    Registrato dal
    Sep 2009
    Messaggi
    1,737
    codice:
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Documento senza titolo</title>
    <style type="text/css">
    <!--
    .bordo {
    	border: 2px solid #00F;
    }
    -->
    </style>
    </head>
    
    <body>
    <table width="500" border="0" align="center" cellpadding="5" cellspacing="10">
      <tr>
        <td width="33%" class="bordo"></td>
        <td width="33%"></td>
        <td width="33%" class="bordo"></td>
      </tr>
      <tr>
        <td width="33%"></td>
        <td width="33%" class="bordo"></td>
        <td width="33%"></td>
      </tr>
      <tr>
        <td width="33%" class="bordo"></td>
        <td width="33%"></td>
        <td width="33%" class="bordo"></td>
      </tr>
    </table>
    
    </body>
    </html>

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.