Visualizzazione dei risultati da 1 a 9 su 9

Discussione: table-less e lista

  1. #1
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    112

    table-less e lista

    sto provando a costruire una pagina table-less e ho impostato un div che fa da header e due sotto tipo colonne

    ho trovato questa lista su listamatic (http://css.maxdesign.com.au/listamatic/horizontal15.htm )e apparte i colori che poi modificherò, non riesco a capire come posso fare a mettere la lista in basso del div header e non in alto

    la pagina è questa

  2. #2
    posta la parte del css relativa al div!
    Anche io leggo barze-bastarde
    Athlon 64 X2 4400@2500 daily - Zalman CNPS9500 - Asus A8n-Sli Premium - Crucial Ballistix Tracer PC4000 500mhz Sinc. - Sapphire Radeon X1900XT 512mb - Zalman VF900Cu - Seagate 320Gb 7200.10 - LG H22N 18x - T.t. Soprano - LcPower Titan 560W

  3. #3
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    112
    codice:
    body {
      background-color: #CCCCCC;
      margin: 0;
      padding: 0;
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-size: 12px;
    }
    
    table, tr, td {
      table-layout: fixed;
    }
    
    div#main {
      width: 750px;
      height: 750px;
      background-color: #000000;
    }
    
    #header {
      width: 750px;
      height: 100px;
      background-color: #FF0000;
    }
    
    #left {
      width: 120px;
      height: 650px;
      background-color: #00FF00;
      float: left;
    }
    
    #right {
      width: 630px;
      height: 650px;
      background-color: #0000FF;
      float: right;
    }
    
    #navcontainer
    {
    background: #369;
    border-top: 1px solid #9CC;
    font: normal normal 11px Verdana;
    }
    
    #navlist
    {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    }
    
    @media all {
    #navlist {
    text-align: center
    }
    }
    
    #navlist li
    {
    bottom: 11px;
    display: inline;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
    position: relative;
    }
    
    html>body #navlist li
    {
    background: #000;
    margin: 0 3px 0 0;
    padding: 4px 0px 4px 0;
    }
    
    #navlist a, #navlist a:link, #navlist a:visited
    {
    background: #900;
    border: 1px solid #FFF;
    bottom: 2px;
    color: #FFF;
    cursor: pointer;
    display: inline;
    height: 1em;
    margin: 0;
    padding: 3px 5px 3px 5px;
    position: relative;
    right: 2px;
    text-decoration: none;
    }
    
    #navlist a:hover
    {
    background: #C00;
    bottom: 1px;
    color: #FFF;
    position: relative;
    right: 1px;
    }
    
    #navlist a:active
    {
    background: #999;
    bottom: 0px;
    color: #FFF;
    position: relative;
    right: 0px;
    }
    
    #navlist li#active
    {
    background: #369;
    bottom: 13px;
    display: inline;
    margin: 0 3px 0 0;
    padding: 0;
    position: relative;
    }
    
    html>body #navlist li#active
    {
    background: #000;
    margin: 0 4px 0 4px;
    }
    
    #navlist #active a, #navlist #active a:link, #navlist #active
     a:visited, #navlist #active a:hover
    {
    background: #369;
    border-bottom: none;
    border-left: 1px solid #9CC;
    border-right: 1px solid #9CC;
    border-top: 1px solid #9CC;
    bottom: 0;
    color: #FFF;
    cursor: text;
    margin: 0;
    padding: 2px 5px 0 5px;
    position: relative;
    right: 0;
    }

  4. #4
    ho dato una occhiata ed ho corretto qualcosa...dipendeva da un margin a 0px che ho messo a 15 e da un paio di bottom che facevano alzare i tasti....sai qualcosa di css? se si dovresti capire...altrimenti chiedimi pure...


    codice:
    body {
      background-color: #CCCCCC;
      margin: 0;
      padding: 0;
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-size: 12px;
    }
    
    table, tr, td {
      table-layout: fixed;
    }
    
    div#main {
      width: 750px;
      height: 750px;
      background-color: #000000;
    }
    
    #header {
      width: 750px;
      height: 100px;
      background-color: #FF0000;
    }
    
    #left {
      width: 120px;
      height: 650px;
      background-color: #00FF00;
      float: left;
    }
    
    #right {
      width: 630px;
      height: 650px;
      background-color: #0000FF;
      float: right;
    }
    
    #navcontainer
    {
    background: #369;
    border-top: 1px solid #9CC;
    font: normal normal 11px Verdana;
    }
    
    #navlist
    {
    list-style: none outside none;
    margin: 15;
    padding: 0;
    }
    
    @media all {
    #navlist {
    text-align: center
    }
    }
    
    #navlist li
    {
    bottom: 5px;
    display: inline;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
    position: relative;
    }
    
    body #navlist li
    {
    background: #000;
    margin: 0 3px 0 0;
    padding: 4px 0px 4px 0;
    }
    
    #navlist a, #navlist a:link, #navlist a:visited
    {
    background: #900;
    border: 1px solid #FFF;
    bottom: 2px;
    color: #FFF;
    cursor: pointer;
    display: inline;
    height: 1em;
    margin: 0;
    padding: 3px 5px 3px 5px;
    position: relative;
    right: 2px;
    text-decoration: none;
    }
    
    #navlist a:hover
    {
    background: #C00;
    bottom: 1px;
    color: #FFF;
    position: relative;
    right: 1px;
    }
    
    #navlist a:active
    {
    background: #999;
    bottom: 0px;
    color: #FFF;
    position: relative;
    right: 0px;
    }
    
    #navlist li#active
    {
    background: #369;
    bottom: 5px;
    display: inline;
    margin: 0 3px 0 0;
    padding: 0;
    position: relative;
    }
    
    html>body #navlist li#active
    {
    background: #000;
    margin: 0 4px 0 4px;
    }
    
    #navlist #active a, #navlist #active a:link, #navlist #active
     a:visited, #navlist #active a:hover
    {
    background: #369;
    border-bottom: none;
    border-left: 1px solid #9CC;
    border-right: 1px solid #9CC;
    border-top: 1px solid #9CC;
    bottom: 0;
    color: #FFF;
    cursor: text;
    margin: 0;
    padding: 2px 5px 0 5px;
    position: relative;
    right: 0;
    }
    Anche io leggo barze-bastarde
    Athlon 64 X2 4400@2500 daily - Zalman CNPS9500 - Asus A8n-Sli Premium - Crucial Ballistix Tracer PC4000 500mhz Sinc. - Sapphire Radeon X1900XT 512mb - Zalman VF900Cu - Seagate 320Gb 7200.10 - LG H22N 18x - T.t. Soprano - LcPower Titan 560W

  5. #5
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    112
    sì sono una via di mezzo tra un newbbie e uno che ci capisce!
    ora funziona, grazie

  6. #6
    Originariamente inviato da luca7
    sì sono una via di mezzo tra un newbbie e uno che ci capisce!
    ora funziona, grazie
    non volevo sfottere!! era per sapere se dovevo spiegarti le modifiche
    Anche io leggo barze-bastarde
    Athlon 64 X2 4400@2500 daily - Zalman CNPS9500 - Asus A8n-Sli Premium - Crucial Ballistix Tracer PC4000 500mhz Sinc. - Sapphire Radeon X1900XT 512mb - Zalman VF900Cu - Seagate 320Gb 7200.10 - LG H22N 18x - T.t. Soprano - LcPower Titan 560W

  7. #7
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    112
    perdonami ma c'è stato un malinteso, io non ho mai pensato che mi volessi sfottere, forse hai interpretato male la mia frase, sono davvero quello che ho detto di essere ma non volevo darti contro!

    rinnovo i miei ringraziamenti


  8. #8
    html>body #navlist li#active <----togli html>
    {
    background: #000;
    margin: 0 4px 0 4px;
    }

    #navlist #active a, #navlist #active a:link, #navlist #active
    a:visited, #navlist #active a:hover
    {
    background: #369;
    border-bottom: none;
    border-left: 1px solid #9CC;
    border-right: 1px solid #9CC;
    border-top: 1px solid #9CC;
    bottom: 0;
    color: #FFF;
    cursor: text;
    margin: 0;
    padding: 2px 5px 0 5px;
    position: relative;
    right: 0;
    }

    scusa ma ho notato un errore...
    Anche io leggo barze-bastarde
    Athlon 64 X2 4400@2500 daily - Zalman CNPS9500 - Asus A8n-Sli Premium - Crucial Ballistix Tracer PC4000 500mhz Sinc. - Sapphire Radeon X1900XT 512mb - Zalman VF900Cu - Seagate 320Gb 7200.10 - LG H22N 18x - T.t. Soprano - LcPower Titan 560W

  9. #9
    Utente di HTML.it
    Registrato dal
    Dec 2003
    Messaggi
    112
    si lo avevo tolto mentre modificavo dimensioni e colore

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.