WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Alternating colours at li
  • Print
Pages: [1]   Go Down

Author Topic: Alternating colours at li  (Read 4745 times)

PcPostar

  • Guest
Alternating colours at li
« on: September 02, 2008, 06:26:21 PM »
Hi, i have a navigation menu on the left, and I would like to alternate background of list items.
So that 1, 3, 5 entry of menu will have dark background and 2, 4, 6 entry of menu will have a light background.

I could manage this with css, but all li are in the same class. Is it however possible in simple way to alternate those classes of <li> at menu....

thanks
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Alternating colours at li
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2