Visualizzazione dei risultati da 1 a 8 su 8
  1. #1

    validata w3c e allineamento strano...

    Ciao,

    Non capisco perchè il torna indietro va a finire accanto alla tabella invece che sotto...

    Il codice è coirretto in quanto validato w3c...

    qualcuno mi aiuta?

    grazie allego il file


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>- - Pirelli RE Franchising - - </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="AUTHOR" content="Manuele Ferlito & Flavia Barbiera">
    <meta name="keywords" content="servizi immobiliari, immobiliari, mutui, servizi finanziari, leasing, sistemi allarme , antifurti, immobili, immobili liguria, appartamenti, ricerca immobili, prielli immobiliare ">
    <meta name="description" content="Pirelli immobiliare, sede di Genova in C.so Italia - Immobili, vendita, affitto, valutazione immobili, servizi gratuiti di valutazione immobili, richiesta appuntamento">
    <style type="text/css">

    #body {
    margin: 0pt;
    background-color:#ffffff;
    height:80%;
    width:680px;
    /*float: left;*/
    top: 170px;
    margin-left:35px;
    position:absolute;
    }


    #logo{
    position:absolute;
    z-index:1;
    visibility:visible;
    margin-left:35px;
    top:15px;
    width:300px;
    height:60px;
    color:#000000;
    font-size:1px;
    background-color:#ffffff
    }

    #omino {
    position:absolute;
    z-index:5;
    visibility:visible;
    left:555px;
    top:30px;
    width:100px;
    height:20px;
    color:#000000;
    background:#1661a0;
    align='center';
    }


    #header {
    position:absolute;
    z-index:2;
    visibility:visible;
    margin-left:35px;
    top:80px;
    width:680px;
    height:60px;
    color:#000000;
    background-color:#1661a0
    }


    #subheader {
    position:absolute;
    z-index:4;
    visibility:visible;
    margin-left:35px;
    top:150px;
    width:681px;
    height:15px;
    color:#000000;
    font-size:1px;
    background-color:#6f5f4f;
    }

    #menu {
    position:absolute;
    z-index:3;
    visibility:visible;
    margin-left:380px;
    top:15px;
    width:400px;
    height:30px;
    color:#000000;
    font-size:1px;
    background-color:#ffffff;
    }



    #footer {
    /*z-index:2;*/
    visibility:visible;
    margin: 0pt;
    left: 0px;
    top:100%;
    width:681px;
    height:5px;
    background-color:#1661a0;
    position:absolute;
    }

    a.link_nero {
    font-family:Verdana;
    font-size: 8pt;
    color: #000000;
    }

    .dfltt {
    font-family:Times New Roman;
    font-size:14px;
    font-weight:normal;
    text-decoration:none;
    text-align:left;
    }


    /*gestione testo*/


    .testo {
    font-size : 12pt ;
    font-family: Verdana,Arial;
    color: #000000;
    font-weight: normal;
    }


    .testo_rosso {
    font-size : 10pt ;
    font-family: Verdana,Arial;
    color: red;
    font-weight: normal;
    }

    .testo_bold {
    font-size : 10pt ;
    font-family: Verdana,Arial;
    color: #000000;
    font-weight: bold;
    }

    .testo_rosso_bold {
    font-size : 10pt ;
    font-family: Verdana,Arial;
    color: red;
    font-weight: bold;
    }

    .titolo {
    font-size : 11pt ;
    font-family: Verdana,Arial;
    color: #000000;
    font-weight: bold;
    }

    .titolo_rosso {
    font-size : 12pt ;
    font-family: Verdana,Arial;
    color: red;
    font-weight: bold;
    }

    .testo_bianco {
    font-size : 10pt ;
    font-family: Verdana,Arial;
    color: #FFFFFF;
    font-weight: normal;
    }

    .testo_bianco_bold {
    font-size : 10pt ;
    font-family: Verdana,Arial;
    color: #FFFFFF;
    font-weight: bold;
    }


    form {
    padding: 0;
    margin: 0;
    }

    </style>

    <script language="JavaScript" type="text/javascript">
    var ns6=document.getElementById&&!document.all
    function restrictinput(maxlength,e,placeholder){
    if (window.event&&event.srcElement.value.length>=maxl ength)
    return false
    else if (e.target&&e.target==eval(placeholder)&&e.target.v alue.length>=maxlength){
    var pressedkey=/[a-zA-Z0-9\.\,\/]/
    if (pressedkey.test(String.fromCharCode(e.which)))
    e.stopPropagation()
    }
    }


    function countlimit(maxlength,e,placeholder){
    var theform=eval(placeholder)
    var lengthleft=maxlength-theform.value.length
    var placeholderobj=document.all? document.all[placeholder] : document.getElementById(placeholder)
    if (window.event||e.target&&e.target==eval(placeholde r)){
    if (lengthleft<0)
    theform.value=theform.value.substring(0,maxlength)
    placeholderobj.innerHTML=lengthleft
    }
    }


    function displaylimit(theform,thelimit){
    var limit_text="<span id='"+theform.toString()+"'>" + thelimit + ""
    if (document.all||ns6)
    document.write(limit_text)
    if (document.all){
    eval(theform).onkeypress=function(){ return restrictinput(thelimit,event,theform)}
    eval(theform).onkeyup=function(){ countlimit(thelimit,event,theform)}
    }
    else if (ns6){
    document.body.addEventListener('keypress', function(event) { restrictinput(thelimit,event,theform) }, true);
    document.body.addEventListener('keyup', function(event) { countlimit(thelimit,event,theform) }, true);
    }
    }

    </script>
    </head>

    <body>
    <div id="logo">[img]layout/logo.gif[/img]</div>

    <div id="header"></div>

    <div id="menu">
    </div>

    <div id="subheader"></div>


    <div id = "body">




    <b class='testo_rosso'>ADMIN -> [/b]<b class='titolo'>Invio newsletter[/b]




    <form name='invio_newsletter' action='A_newsletter_invio.asp' method='post'>
    <table border='2' width='100%' align='left'>
    <tr>
    <td><b class='testo'>Oggetto:[/b]</td>
    <td><input type='TEXT' name='oggetto' size="50" MAXLENGTH='50'></td>
    </tr>
    <tr>
    <td><b class='testo'>Intestazione:[/b]</td>
    <td><input type='TEXT' name='intestazione' size="40" MAXLENGTH='40'><b class='testo_rosso_piccolo'>-Esempio: Spett. Azienda, Ciao, ecc[/b] </td>
    </tr>
    <tr>
    <td><b class='testo'>Messaggio:[/b]</td>
    <td>
    <TEXTAREA NAME="corpo" ID="mostraBox" COLS='25' ROWS='5'></TEXTAREA>
    <script language="JavaScript" type="text/javascript">
    //Conta caratteri ->basta inserire questo nel campo e inserire la funzione inclusa nel stile.txt
    displaylimit("document.invio_newsletter.corpo",100 0)
    </script>
    </td>
    </tr>
    <tr>
    <td><b class='testo'>Saluti:[/b]</td>
    <td><input type='TEXT' name='saluti' size="20" MAXLENGTH='20'></td>
    </tr>
    <tr>
    <td><b class='testo'>Firma:[/b]</td>
    <td><input type='TEXT' name='firma' size="30" MAXLENGTH='30'></td>
    </tr>
    <tr>
    <td colspan='2'><input type='image' src='/layout/invia.png'></td>
    </tr>
    </table>
    </form>









    <b class='testo'>Torna indietro[/b]





    <div id="footer"></div>



    </div>
    </body>
    </html>

  2. #2
    non ho letto il codice, ma probabilmente devi metterci un clear:right dopo la tabella

  3. #3
    intendi <right>?

    nonlo conosco...credo di no che non intendi quello

  4. #4
    prova così:

    nel file .css aggiungi
    .clear {
    clear:both;
    }


    e nel file xhtml, dopo la tabella, aggiungi
    <div class='clear'>
    </div>

  5. #5
    Grazie

    e questo cosa farebbe?..pr info personale...

  6. #6
    GRAZIE

    funziona perfettamente...

  7. #7
    prego

    serve a mandare a capo tutto quello che viene dopo
    fai qualche ricerca con quel termine per saperne di piu'

    tieni presente che ci sono anche clear:left e clear:right

  8. #8
    gentilissimo...

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 © 2026 vBulletin Solutions, Inc. All rights reserved.