• User Newbie

    layout a 2 colonne ne vorrei inserire 1

    Buongiorno a tutti, il mio problema è questo : ho un css con due colonne, sinistra e destra, io ne vorrei inserire una a sinistra della colonna sinistra, ma non appena inserisco qualcosa nell'html in quella posizione mi sposta la colonna sinistra(originale) e quella destra(originale) sotto alla nuova colonna questo è il codice```
    body {
    background: #FFFFFF url(header.gif) repeat-x top left;
    margin: 0;
    padding: 0;
    }

    table {
    }

    caption {
    background-color: #444444;
    border-bottom: 1px solid #999999;
    font-weight: normal;
    font-variant: small-caps;
    text-align: center;
    font-size: 14px;
    padding: 3px;
    color:;
    }

    th {
    text-align: center;
    font-size: 12px;
    padding: 3px;

    }

    img {
    border: 3px thin #cccccc;
    }

    a {
    color: #3C6491;
    background-color: inherit;
    }

    p {
    margin: 0;
    padding: 1px;
    }

    h1 {
    font-size: 160%;
    margin: 0;
    padding: 3px;
    }

    h1 a {
    color: #BF3E17;
    background: inherit;
    text-decoration: none;
    }

    h1 a:hover {
    text-decoration: none;
    color: #0099FF;
    background: inherit;
    }

    h2 {
    font-size: 140%;
    margin: 0;
    padding: 0;
    background-color: inherit;
    }

    h2 a {
    text-decoration: none;
    background-color: inherit;
    background-image: url(h2bg.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding: 0 0 0 20px;
    }

    h2 a:hover {
    color:;
    text-decoration: none;
    background: url(h2bghover.gif) no-repeat center left;
    }

    h3 {
    font-size: 120%;
    background-color: inherit;
    }

    h3 a {
    text-decoration: none;
    background-color: inherit;
    background-repeat: no-repeat;
    background-position: center left;
    }

    h3 a:hover {
    text-decoration: none;
    }

    #header {
    clear: both;
    width: 99%;
    height: 45px;
    padding-top: 25px;
    margin: auto;
    }

    #logo {
    float: left;
    padding: 10px 0 0 0;
    color: #000000;
    background: inherit;
    width: 300px;
    font-variant: normal;
    text-align: right;
    font-size: 160%;
    }

    .slogan {
    background: #EEEEEE url(header.gif) repeat-x top left;
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    margin: 0 auto;
    padding: 5px 10px 5px 10px;
    text-align: justify;
    color: #808080;
    }

    .box1 {
    text-align: justify;
    width: 45%;
    padding: 5px;
    margin: 5px;
    font-size: 80%;
    float: left;
    }

    .box2 {
    text-align: justify;
    width: 45%;
    padding: 5px;
    margin: 5px;
    font-size: 80%;
    float: left;
    }

    .slogan_piccolo {
    background:;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    margin: 0 auto;
    padding: 15px 15px 15px 15px;
    text-align: justify;
    font-size: 95%;
    color:;
    }

    .datario {
    font-size: 95%;
    color:;
    text-align: center;
    margin: 0;
    padding: 1px 2px 2px 1px;
    text-decoration: none;
    }

    .contenuto {
    border-top: 1px solid #FEFEFE;
    background: url(contentbg.gif) repeat-x left top;
    color:;
    width: auto;
    margin: 0;
    padding: 0;
    }

    #sinistra(originale) {
    margin-left: 180px;
    margin-right: 362px;;
    }

    #centrale(nuova) {
    float: left;
    width: 120px;
    }

    #destra {
    float: right;
    width: 220px;
    }

    #articoli {
    width: 790px;
    padding-top: 15px;
    margin: 0 auto 10px auto;
    }

    .articolo_s {
    float: right;
    margin: 2px 0 2px 0;
    padding: 2px;
    line-height: 1.4em;
    }

    .articolo_d {
    background:;
    color:;
    margin: 2px 0 2px 0;
    padding: 8px;
    line-height: 1.4em;
    }

    .articolo_d_ad {
    font-size: 140%;
    font-weight: bold;
    border: 2px solid;
    color:;
    margin: 2px 0 2px 0;
    padding: 17px;
    width: 182px;
    height: 17px;
    background: url(seoad.jpg) no-repeat;
    }

    .articolo_d_ad a {
    background: transparent;
    text-decoration: none;
    }

    #nav
    {
    width: 500px;
    height: 25px;
    border-bottom: 1px solid white;
    color: white;
    background-color:;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
    position: fixed;
    top: 0px;
    margin-left: 0px;
    left: 50%;
    margin-top: 0px;
    padding: 0px;
    z-index: 99;
    _position: absolute;
    _top: expression((dummy = document.documentElement.scrollTop) + "px");
    }

    {
    display: block;
    float: left;
    height: 25px;
    width: auto;
    text-align: center;
    line-height: 25px;
    }

    {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    }

    {
    background-color:;
    }

    #hmenu {
    padding: 13px 0 0 0;
    float: right;
    }

    padding: 12px 13px 0px 11px;
    text-decoration: none;
    border-bottom: 4px solid #BCBCBC;
    color: #414141;
    background: url(hmenuarrow.gif) no-repeat top center;
    margin: 0 0 3px 1px;
    }

    background: url(hmenuarrowhover.gif) no-repeat top center;
    border-bottom: 4px solid #2F4A6C;
    color:;
    }

    #menu_d {
    color:;
    margin: 0;
    padding: 0;
    }

    display: block;
    background: #BF3E18 url(vmenuarrow.gif) no-repeat center left;
    color:;
    padding: 5px 0 5px 19px;
    margin: 0 0 1px 0;
    text-decoration: none;
    }

    color:;
    background: #822C0F url(vmenuarrowhover.gif) no-repeat center left;
    }

    .menu_s {
    width: auto;
    margin: 0;
    padding: 0;
    }

    .menu_s a {
    color:;
    display: block;
    padding: 3px 3px 3px 15px;
    margin: 0 0 1px 0;
    text-decoration: none;
    }

    .menu_s a:hover {
    color:;
    background: url(vmenuarrowhover.gif) no-repeat center left;
    }

    .menu_s a:visited {
    color:;
    }

    .menu_s a:active {
    color: #FFFF80;
    }

    #addizionali {
    clear: both;
    width: 740px;
    background-color:;
    color:;
    margin: 0 auto;
    padding: 10px;
    }

    #whiteline {
    clear: both;
    width: 740px;
    margin: 0 auto;
    border-top: 3px solid;
    }

    #links {
    clear: both;
    margin: 0 auto;
    width: 740px;
    padding: 10px;
    background: url(linksbg.gif) repeat-x top left;
    color: #FFF;
    }

    #footer {
    margin: 5px auto;
    width: 740px;
    padding: 0 5px 0 5px;
    }

    padding-top: 10px;
    padding-bottom: 25px;
    line-height: 1.8em;
    color:;
    background:;
    }

    color:;
    background: inherit;
    }

    form.ricerca {
    padding: 0;
    margin: 0;
    }

    #loginbox {
    background: url(header.gif) repeat-x top left;
    color:;
    text-align: center;
    border-bottom: 2px solid;
    padding: 15px 15px 15px 15px;
    margin: 0;
    }

    #searchform {
    background:;
    color:;
    padding: 5px 8px 5px 18px;
    margin: 0px;
    }

    textarea {
    font: 11px arial;
    margin: 1px;
    padding: 5px;
    }

    input {
    margin: 2px;
    padding: 1px;
    font-size: 95%;
    }

    input.text {
    width: 100px;
    border: 1px solid #eee;
    color:;
    background: #d8d8d8;
    font-size: x-small;
    }

    input.text:hover {
    border: 1px solid;
    background:;
    color:;
    }

    input.button {
    margin: 0;
    padding: 0;
    font-size: 90%;
    border: none;
    background: none;
    color:;
    background:;
    font-weight: bold;
    }

    select {
    margin: 2px;
    padding: 1px;
    font-size: 95%;
    color: #333333;
    border: 1px solid #555555;
    }

    a.info {
    text-decoration: none;
    position: relative;
    }

    a.info span {
    display: none;
    }

    a.info:hover {
    cursor: default;
    }

    a.info:hover .infobox {
    text-decoration: none;
    font-weight: normal;
    display: block;
    position: absolute;
    top: 0;
    left: 100px;
    width: 300px;
    height: auto;
    border: 1px solid;
    background: #f4f4f4 url(infob.gif) no-repeat bottom right;
    color:;
    text-align: justify;
    font-size: 0.8em;
    padding: 10px;
    }

    a:link {
    color: #EA922B;
    text-decoration: none;
    }
    a:active {
    color:;
    text-decoration: none;
    }
    a:visited {
    color:;
    text-decoration: none;
    }
    a:hover {
    color: #700b0b;
    text-decoration: underline;
    }

    a.user:link {
    color:;
    text-decoration: underline;
    }

    a.user:visited {
    color:;
    text-decoration: underline;
    }

    a.user:active {
    color:;
    font-weight: bolder;
    }

    a.user:hover {
    color: red;
    text-decoration: underline;
    }

    a.user1:link {
    font-weight: bolder;
    color:;
    }

    a.user1:visited {
    font-weight: bolder;
    color:;
    }

    a.user1:active {
    font-weight: bolder;
    color:;
    }

    a.user1:hover {
    font-weight: bolder;
    color: red;
    text-decoration: underline;
    }

    a.menu:link {
    color:;
    text-decoration: none;
    }

    a.menu:visited {
    color:;
    text-decoration: none;
    }

    a.menu:active {
    color: #ffffff;
    text-decoration: none;
    }

    a.menu:hover {
    color: #ffffff;
    text-decoration: underline;
    }

    .bordo {
    border-width: 1px;
    border-style: solid;
    border-color: white;
    }

    .bordo1 {
    border-width: 1px;
    border-style: solid;
    border-color: black;
    }

    .piccolo {
    font-size: 8px;
    }

    .testa {
    text-transform: uppercase;
    background:;
    font-weight: normal;
    font-variant: small-caps;
    text-align: center;
    vertical-align: middle;
    font-size: 100%;
    color:;
    }

    .testa1 {
    text-transform: uppercase;
    background:;
    font-weight: bold;
    font-variant: normal;
    text-align: center;
    vertical-align: middle;
    font-size: 110%;
    color:;
    }

    .evidenziato {
    background-color:yellow;
    }

    .shadow {
    FILTER: progid:DXImageTransform.Microsoft.Shadow(direction=145,color=#00000f,strength=5);
    }

    .maiuscolo {
    text-decoration: none;
    text-transform: capitalize;
    }

    .date {
    margin: 5px 0 5px 0;
    padding: 10px 5px 5px 0;
    background: url(horizontaldotted.gif) repeat-x bottom left;
    color:;
    text-align: right;
    }

    .date a {
    color:;
    background:;
    }

    
    Riuscireste a farmi capire dove sbaglio, e darmi la dritta giusta per far si che la mia index diventi a tre colonne?
    
    Grazie a tutti:bho:

  • Super User

    Ciao Jerod13 e benvenuto nel forum GT 🙂
    Avresti una fonte online dove poter vedere il tuo lavoro?


  • User Newbie

  • User

    Ciao, se questa è la soluzione:
    [..]

    Ciao.