Search code examples
html5-appcache

how to change html5 tableView section color?


<ul data-role="listview">
  <li data-role="list-divider">A</li>
  <li><a href="index.html">Adam Kinkaid</a></li>
  <li><a href="index.html">Alex Wickerham</a></li>
  <li><a href="index.html">Avery Johnson</a></li>
  <li data-role="list-divider">B</li>
  <li><a href="index.html">Bob Cabot</a></li>

 </ul>

enter image description here

how can i change the scetion color? thank you.


Solution

  • I'm not sure if you're asking a simple change of color. But if I'm right :

    You should simply add a class. Then go to the css and there just add a .classname{ background-color: #color;}

    Is that you are asking for ?