Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2009
    Messaggi
    16

    le tabelle e le distanze giuste

    vorrei sapere come poter mettre una tabella sotto il contenitore lateralesx e lateraledx senza inserirla in un contenitore <div>..mi potete fare un esempio per capire? [sorriso]

    <code>
    <?xml version="1.0" encoding="iso-8859-15"?>
    <!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" lang="it">
    <html>
    <head>
    <title>Untitled</title>
    <style type="text/css">

    * {
    margin : 0;
    border : 0;
    padding : 0;
    }
    html, body {
    overflow : hidden;
    }
    body {
    text-align : center;
    }
    html, body {
    height : 100%;
    }
    .contenitore1 {
    position : absolute;
    top : 0%;
    left: 0%;
    right: 0%;
    bottom : 70%;
    width : 100%;
    height : 20%;
    background-image : url(foto/sfondo-superiore.jpg);
    background-repeat: repeat;
    border: 1px solid black;
    }
    .contenitore2 {
    position : absolute;
    top : 80%;
    left: 0%;
    right: 0%;
    bottom : 0%;
    width : 100%;
    height : 20%;
    background-image : url(foto/sfondo-superiore.jpg);
    background-repeat: repeat;
    border: 1px solid black;
    }
    .lateralesx {
    position : absolute;
    top : 20%;
    left: 0%;
    right: 85%;
    width : 15%;
    height : 8%;
    background-image : url(foto/sfondo-superiore.jpg);
    background-repeat: repeat;
    border: 1px solid black ;
    border-top: 0px;
    }
    .lateraledx {
    position : absolute;
    top : 20%;
    left: 85%;
    width : 15%;
    height : 8%;
    background-image : url(foto/sfondo-superiore.jpg);
    background-repeat: repeat;
    border: 1px solid black;
    border-top: 0px;
    }

    </style>
    </head>
    <body>
    <div class="contenitore1"></div>
    <div class="contenitore2"></div>
    <div class="lateralesx"></div>
    <div class="lateraledx"></div>
    <div class="inferioredx"></div>

    </body>
    </html>
    </code>
    Davide

  2. #2

    Re: le tabelle e le distanze giuste

    Originariamente inviato da DAVIDE32
    vorrei sapere come poter mettre una tabella sotto il contenitore lateralesx e lateraledx senza inserirla in un contenitore <div>..mi potete fare un esempio per capire?
    Se la inserisci *dentro* il div "lateralesx" con dimensione 100% hai già risolto...
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

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.