Q:

Align first div to left with subsequent divs aligned right

I wish to display three pieces of text on the same horizontal line, as follows:
|                                                            |
| Chapter one                              Language: English |               
|                                                            |

I am using | to represent either the extreme left or right of the window. This is what I have now:
<div>
<div>Chapter one</div>
<div>Language:</div>
<div>English</div>
</div>

The text English will eventually be replaced by a combo box. How should I style my divs? 

A:

#container {
  display: flex;
}
#container > div:first-child {
  margin-right: auto;
}
<div id="container">
  <div>Chapter one</div>
  <div>Language:&nbsp;</div>
  <div>English</div>
</div>

Whether you ultimately have one or two divs on the right (depending on your combo box set-up), the method above will work. It basically keeps the first div flush left and everything else flush right.
More details here:

Aligning Three Divs Horizontally Using Flexbox
Methods for Aligning Flex Items

Browser support: Flexbox is supported by all major browsers, except IE < 10. Some recent browser versions, such as Safari 8 and IE10, require vendor prefixes. For a quick way to add prefixes use Autoprefixer. More details in this answer.

