You have to use right
to place it on the right side. And floats will not affect any element with position:fixed
or position:absolute
#facebook {
position:fixed;
right:0;
}
Valid properties that elements with absolute or fixed positioning can use to position themselves are the following:
top
left
botttom
right
- margins (negative and positive for each direction)
Also note that one cannot apply both a top
& bottom
or left
& right
, the one that is placed after the other will be used