Forum Replies Created

Viewing 1 replies (of 1 total)
  • CSS

    #sidebar ul {
    list-style-type:none;
    }

    li.item1{
    background-color:red;
    }

    li.item2{
    background-color:blue;
    }

    li.item3{
    background-color:green;
    }

    HTML

    <div id=”sidebar”>

      <li class=”item1″>
      <h2>Your Title</h2>
      <p>Your content</p>

      <li class=”item2″>
      <h2>Your Title 2</h2>
      <p>Your content 2</p>

      <li class=”item3″>
      <h2>Your Title 3</h2>
      <p>Your content 3</p>

    </div>

Viewing 1 replies (of 1 total)