Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2005
    Messaggi
    56

    problema con tabella a bordi smussati

    salve, sto cercando di realizzare una tabella con bordi smussati, ma quando inserisco le due immagini solo quella superiore non aderisce alla cella centrale lasciando alcuni pixel di spazio, non capisco l'errore, questo è il codice:


    <HTML>
    <HEAD> <TITLE> </TITLE>
    <style type="text/css">
    table, td {margin: 0; padding: 0;}
    </style>
    </HEAD>





    <BODY text="" bgcolor="">
    <CENTER>
    <TABLE border=0 CELLSPACING=0 CELLPADDING=0 lpadding=0 bgcolor="">
    <TR>
    <TD> [img]1.gif[/img] </TD>
    </TR>
    <TR>
    <TD height="100" bgcolor="red"> </TD>
    </TR>
    <TR>
    <TD> [img]2.gif[/img] </TD>
    </TR>
    </TABLE>
    </CENTER>
    </BODY>
    </HTML>


    grazie per le eventuli risposte

  2. #2
    prova così:

    Codice PHP:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <
    html>
    <
    head>
    <
    meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <
    title></title>


    <
    style type="text/css">
    tabletd {
        
    margin0
        
    padding0;
    }
    </
    style>
    </
    head>
    <
    body>
    <
    table border="0" align="center" cellpadding="0" cellspacing="0">
    <
    tr>
    <
    td valign="top">[img]1.gif[/img]</TD>
    </
    tr>
    <
    tr>
    <
    td height="100" bgcolor="red"></TD>
    </
    tr>
    <
    tr>
    <
    td valign="bottom">[img]2.gif[/img]</TD>
    </
    tr>
    </
    table>
    </
    body>
    </
    html
    ciaux

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.