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

Home Forums CSS Adding a right align button to a drop down menu

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #39229

    I’m using a pre-made CSS drop down menu from and i’ve been attempting to have a single button right aligned (other button’s still left aligned).

    Could anyone give me any pointers?



    Which one are you trying to align to the right? Either way though, you would just need give which ever one you want to align right, a css property of float: right.

    You can do this by adding a class to that list item or use a css3 technique like nth-child.


    You know, i never knew it would as easy at that!

    Thanks for your help.


    No problem!

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