Reputation: 21924
I have a unordered list that is a series of dots for a slider. How do I make it align to the right instead of the left, especially if the dots are removed or added?
Sometimes there might only be one
I have an example here: http://jsfiddle.net/redconservatory/ghDdm/
I put the word "link" in where there will be a dot....
Upvotes: 1
Views: 137
Reputation: 7569
check this http://jsfiddle.net/ghDdm/7/
.box floats to right, li floats to right
Upvotes: 1
Reputation: 5895
If i am getting your problem then below fiddle have your solution.
Try this fiddle: http://jsfiddle.net/ghDdm/6/
Upvotes: 1
Reputation: 5647
Not sure if i understood what you want but try the following:
Upvotes: 1
Reputation: 18349
Not sure of what you are trying to accomplish here, but have you tried:
ul {
float: right;
}
??
Upvotes: 0
Reputation: 35533
Try changing float: left;
to float: right;
li {
list-style: none;
float: right;
}
Upvotes: 2