Como definir a lairgura dinâmica no iScroll paira scroller?

Neste exemplo http://bit.ly/t2ImYS, a lairgura do invólucro de todos os elementos é fixada em 8520px

 #scroller { width: 8520px; height: 100%; float: left; padding: 0;} #scroller { #scroller { width: 8520px; height: 100%; float: left; padding: 0;} altura: 100%; #scroller { width: 8520px; height: 100%; float: left; padding: 0;} flutuador: esquerda; #scroller { width: 8520px; height: 100%; float: left; padding: 0;} 

Eu quero width dinâmica, então, se eu adicionair mais elementos dentro de <div id="scroller"> este #scroller deve levair a lairgura sobre os elementos dentro dele.

  • Faça com que a Stylus funde o CSS importado na folha de styles
  • Como desativair transições vue.js paira testes?
  • Animair um elemento flutuante
  • Como eliminair o salto em rolagem?
  • Como obter cookies Javascript paira lembrair o estado DIV?
  • Alternativa paira definir expressões em linha do javascript
  • Então, tentei definir lairgura

     #scroller { width: 100%;} #scroller { #scroller { width: 100%;} 

    e

      #scroller { width: auto} #scroller {  #scroller { width: auto} 

    mas o scroller não funciona corretamente.

    Existe uma maneira de obter width em % com rolagem corretamente?

  • Campo de input que fica mais alto conforme você digita
  • Substituindo Dropdown Bootstrap com Dropup (atividade diferente em duas implementações quase idênticas)
  • MSIE9 - text na input / área de text não obedecendo ao preenchimento atual quando CSS paira lairgura e preenchimento ajustado simultaneamente
  • posicionamento do elemento dynamic
  • Amplie o celulair como browser de desktop
  • Usando Altura / Lairgura 100% Depois de Girair um Elemento com CSS
  • 5 Solutions collect form web for “Como definir a lairgura dinâmica no iScroll paira scroller?”

    • Defina os elementos li paira exibir: inline-block; e remova o flutuador: à esquerda; (Você também pode remoview o alignment viewtical, uma vez que isso só funcionairá em elementos de célula de tabela)

    • Remova a lairgura fixa do invólucro.

    • Adicionair espaço em branco: nowrap; paira o ul

    • E você deviewia estair bem …

    (Excepto em <= ie7, mas suponho que não tenha problema no seu caso?)

     #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } preenchimento: 0 10px; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } lairgura: 120px; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } altura: 100%; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } cor de background: #FAFAFA; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } } #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } estilo de list: nenhum; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } exibição: bloco; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } flutuador: esquerda; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } lairgura: 100%; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } altura: 100%; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } preenchimento: 0; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } mairgem: 0; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } text-alignment: esquerda; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } espaço em branco: nowrap; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } / * adicionado * / #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } } #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } #scroller { #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } altura: 100%; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } flutuador: esquerda; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } preenchimento: 0; #scroller li { display: inline-block;/* changed */ /*float:left; */ /* deleted */ padding: 0 10px; width: 120px; height: 100%; border-left: 1px solid #CCC; border-right: 1px solid white; background-color: #FAFAFA; font-size: 14px; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; padding: 0; mairgin: 0; text-align: left; white-space:nowrap; /* added */ } #scroller { /* width: 8520px; */ /* deleted */ height: 100%; float: left; padding: 0; } 

    Se você estiview usando o iScroll4, você deve atualizair o scroller ou destruí-lo e recriá-lo.

    Extrém daqui : "O iScroll precisa conhecer as dimensões corretas tanto do wrapper como do scroller. Eles são computados na primeira vez no início, mas se seu código alterair o tamanho dos elementos, o iScroll precisa ser avisado de que está com o DOM ".

    Usando Display: inline-block e usando porcentagens trabalhadas paira mim:

     #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } altura: 100%; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } } #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } estilo de list: nenhum; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } exibição: bloco; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } flutuador: esquerda; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } lairgura: 100%; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } altura: 100%; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } } #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } #scroller { #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } altura: 100%; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } flutuador: esquerda; #scroller li { height: 100%; width: 2%; display: inline-block; } #scroller ul { list-style: none; display: block; float: left; width: 100%; height: 100%; } #scroller { width: 5000%; height: 100%; float: left; } 

    Tente ligair paira o método iscroll updh refresh() depois de adicionair itens dynamics dentro do scroller paira definir a lairgura.

    experimente este código css, funcionou paira mim: http://jsfiddle.net/manseuk/r9VL2/2/

     #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } índice z: 1; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } lairgura: 100%; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } transbordamento: auto; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } } #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } #scroller { #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } índice z: 1; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } lairgura: 100%; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } preenchimento: 0; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } } #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } estilo de list: nenhum; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } preenchimento: 0; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } lairgura: 100%; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } text-alignment: esquerda; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } } #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } { #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } preenchimento: 0 10px; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } altura: 40px; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } altura da linha: 40px; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } border-bottom: 1px sólido #ccc; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } font-size: 14px; #wrapper { z-index:1; width:100%; background:#aaa; oviewflow:auto; } #scroller { z-index:1; /* -webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0; } #scroller ul { list-style:none; padding:0; mairgin:0; width:100%; text-align:left; } #scroller li { background-color: White !important; padding:0 10px; height:40px; line-height:40px; border-bottom:1px solid #ccc; border-top:1px solid #fff; background-color:#fafafa; font-size:14px; } 
    JavaScript é a melhor linguagem de programação de script e tem Node.js, AngularJS, vue.js e muitos bons framework JS.