Results 1 to 3 of 3

Thread: horizontal <li>

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default horizontal <li>

    Hey everyone,
    Is it possible to have the items of a list appearing next to eachother instead of under eachother ?

    Code:
    <ul>
    <li></li>
    </ul>
    I tried to work with "display:inline;", but it doesn't do the trick.

    Thanks for helping out !

  2. #2
    Join Date
    Feb 2012
    Location
    London
    Posts
    24
    Thanks
    13
    Thanked 2 Times in 2 Posts

    Default

    For horizontal effect that is the correct way to do it - it should work.
    Example:
    #navbar ul li {
    display: inline;
    }

    see:
    http://www.w3schools.com/cssref/tryi...display_inline

  3. The Following User Says Thank You to FrankieL For This Useful Post:

    chechu (02-08-2012)

  4. #3
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Then there must be an error somewhere else.
    Thanks Frankie.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •