title: How to display text, a dotted line then more text spanning the width of the page?
body: <p>I'd like to display some text then a dotted line then some more text on the same line on a HTML page e.g.</p>
  
  <pre><code>Name: .......................................................... (Engineer)
  </code></pre>
  
  <p>I want the "Name" to be left justified against the left border and "Engineer" to be right justified against the right border and then the browser to be able to fill the gap between the two with repeating dots.</p>
  
  <p>I've tried a good few different ways to get this to work using CSS and HTML but can't quite get it right. I don't want to have to specify the width (actual or percentage) of each component so that the solution is re-usable with words of different lengths e.g. the same solution would work with:</p>
  
  <pre><code>Factory Location: .................................... (Not invoice address)
  </code></pre>
  
  <p>Hope this question makes sense, any advice appreciated, thanks.</p>