Forums

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

Home Forums CSS [Solved] Reverse position

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #200272
    analis
    Participant

    Hi this is my menu:

    <ul>
    <li><a href="">link1</a></li>
    <li><a href="">link2</a></li>
    </ul>

    with inline css the result is:

    (link1) (link2)

    without changing the html code you can change the position ?

    (link2) (link1)

    thanks

    #200273
    Paulie_D
    Member

    A Codepen demo would be useful but the most obvious solution would be to float the li to the right.

    #200278
    JustinF
    Participant

    Sure, try it out with flexbox.

    http://codepen.io/jmaker/pen/EaBrav

    #200296
    analis
    Participant

    thanks!

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