Visualizzazione dei risultati da 1 a 5 su 5

Discussione: Doctype e layout

  1. #1

    Doctype e layout

    SAave a tutti, ora non so perchè se inserisco il doctype in una pagina in semplice html il layout mi si sfasa del tutto.
    Uso:
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    ma anche con l'xhtml non ho buoni risultati
    Ecco 2 screen per rendere l'idea....
    Con doctype:

    e senza:

  2. #2

  3. #3
    Mi serve per l'html 4,ho creato la pag seguendo questo schema

  4. #4
    eccolo

    trans:
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>401 transitional</title>
    </head>
    
    <body>
    </body>
    </html>
    strict:
    codice:
    <!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>401 Strict</title>
    </head>
    
    <body>
    </body>
    </html>
    ciak

  5. #5
    Grazie degli aiuti!!!

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.