'float:right not floating all the way to the right

I've been looking at this for the past days now and I'm at the point where I need to ask for help.

http://cub.northnodes.com/index.php/about/mission/

I need the donate now column to float all the way to the right, but it only goes halfway. I can't figure out why it's stopping there, there's no containing div that ends there. I've tried to take it out of the #center div, and have placed it both before it with no better results. Placing it after the #center div makes it float left all the way beautifully, but below the #center where I don't want it to be.



Solution 1:[1]

In case others come later:

I had a similar issue where float right would only move halfway across its containing div. Neither it, its siblings, or container had position relative. However, the containing div's prior sibling also had a child with a float: right; (coincidence that it was the last child; not sure?). I solved my problem by adding a clear: both; to the div containing the offending floater. This was on Chrome.

Solution 2:[2]

This happened to me because I had set max-width on a parent container. I removed that and my element floated all the way to the right properly.

Solution 3:[3]

In my case clear: both; didn't solve a thing. Somewhere above there must have been a margin-right: 2em or something like that which was being carried over.

In my CSS then I just had to insert margin-right: 0px; and the image was then flush to the right side of the page.

Solution 4:[4]

Had a similar issue, Items were floating right/left/center (just not all the way right or center).

I fixed it by putting justify-content: space-between; in the parent container.

My final css for the parent looks like:

parent {
    position: fixed;
    bottom: 0px; 
    width: 100%; 
    display: inline-flex;
    justify-content: space-between;
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ib.
Solution 2 Jesse Aldridge
Solution 3 WinEunuuchs2Unix
Solution 4 Diane Tritchler