views:

20

answers:

1

Hi!

I'm using jQuery UI to do some tabs but I wan't one of the tab to be to the right so I figured I'll use jQuery to change the CSS to float:right but that doesn't help.

Do anyone know a better solution or how I can edit the CSS of one tab?

A: 

Adding float:right worked for me. Are you adding it to the right element?

$("ul.ui-tabs-nav li.ui-state-default:last").css("float", "right");
Shaun Humphries
Thanks, probably dident do that but the code you provided worked, thanks again.
Victor