Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Aligning tabs to the right

  • 17-01-2010 10:20AM
    #1
    Registered Users, Registered Users 2 Posts: 1,086 ✭✭✭


    I used a CSS script from the net to put in tabs on my page.

    I want to align the tabs to the right however. Any idea how I could do this?

    Page -> here


Comments

  • Moderators, Science, Health & Environment Moderators Posts: 9,226 Mod ✭✭✭✭mewso


    I'd look around for something better to be honest. The html for those tabs is a div with li elements? li elements should be in a list element (ul/ol) only. Also the positioning of the div is absolute which makes it a bit inflexible. Good css tabs would be floated and you could float the tab headers to the right instead of the left to get what you want. It might be possible to get them to the right by giving them a right:0 but I don't like the html so I would recommend looking for better.


  • Registered Users, Registered Users 2 Posts: 6,705 ✭✭✭daymobrew




Advertisement