Visualizzazione dei risultati da 1 a 3 su 3

Discussione: div height 100%

  1. #1
    Utente bannato
    Registrato dal
    Feb 2005
    Messaggi
    440

    div height 100%

    Ci ho provato in tutti i modi a settarlo in html, body ovunque con height:100%, margin-bottom: 0px; ho provato a mettere questi dati nel div interessato ma niente
    il div non vuole prendere il 100% in altezza, come mai cosa devo fare?

  2. #2
    codice:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    html, body {margin:0;padding:0;height:100%;width:100%;}
    
    #box { width:200px;height:100%;}
    </style>
    </head>
    
    <body>
    
    <div id="box"></div>
    
    </body>
    </html>

  3. #3
    Utente bannato
    Registrato dal
    Feb 2005
    Messaggi
    440
    grazie

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.