Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS ul’s li side by side

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40051
    Pervez
    Member

    Hi,

    Below is my code, Here I want place maim li side by side.how can i do this…..?


    #110959
    Paulie_D
    Member

    If I understand correctly, you want each menu item to be next to each other horizontally across the page.

    There are a couple of ways of doing this.

    You can set the li items to ‘display: inline-block’ or ‘float: left’.

    #110960
    pmac627
    Participant

    Paulie_D is right. That will put all of your elements horizontally in a row. To hide the bullets that accompany any list, use the following.

    list-style-type: none;

    I only throw that in because I don’t really see a need to keep bullet points unless you were trying to make multiple columns of bullets.

    #111197
    Pervez
    Member

    Thank You so much for your response .

    Pervez

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.