css 3coloum list

9 Jul
<ol
>

  • Aloe</li
    >
  • Bergamot</li
    >
  • Calendula</li
    >
  • Damiana</li
    >
  • Elderflower</li
    >
  • Feverfew</li
    >
  • Ginger</li
    >
  • Hops</li
    >
  • Iris</li
    >
  • Juniper</li
    >
  • Kava kava</li
    >
  • Lavender</li
    >
  • Marjoram</li
    >
  • Nutmeg</li
    >
  • Oregano</li
    >
  • Pennyroyal</li
    >

  • l
    {
    width: 30em; /* room for 3 columns */
    }
    ol li
    {
    float: left;
    width: 10em; /* accommodate the widest item */
    }
    /* stop the floating after the list */
    br
    {
    clear: left;
    }
    /* separate the list from what follows it */
    div.wrapper
    {
    margin-bottom: 1em;
    }

    Advertisements

    One Response to “css 3coloum list”

    1. sagar July 10, 2008 at 11:56 am #

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    %d bloggers like this: