I'm having trouble centering a floating button between two other floating buttons.
It looks like this:

CSS is pretty simple at this point:
A {
float: left;
}
B {
float: left;
}
C {
float: right;
}
Note. Button A is located at the far end of the page, and button C is the rightmost. B should be in the middle (which is the idea, anyway).
I know there is no "center" value for float. And I read some other solutions to this problem. But most of them involve setting a certain width in the wrapper div, which is not an ideal solution, for example, for a liquid layout. If you need to wrap a button, I'm not sure how this is better than using direct positioning.
In any case, I am looking for a solution using a fluid layout approach.
, .
B {
position: relative;
left: 0;
right: 0;
}
. .