Creating a list with two columns..

Discussion in 'Web Design and Development' started by Fleetwood Mac, Apr 5, 2008.

  1. Fleetwood Mac macrumors 65816

    Fleetwood Mac

    Joined:
    Apr 27, 2006
    Location:
    Canada
    #1
    I'm trying to make a bulleted list of courses with two columns. Is there a way for me to split an unordered list into two auto-magically or should I just use floats?
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Yeah, if you're justing one list, floating is the only way to have more than one column.
     
  3. ChicoWeb macrumors 65816

    ChicoWeb

    Joined:
    Aug 16, 2004
    Location:
    California
    #3
    Code:
    ul {float: left;}
    
    Add your widths and it should produce 2 columns for you.
     

Share This Page