title: How to remove space at top of <p> tag / align contained text to top of container?
body: <p>This is undoubtedly a stupid question but i'm having a bad day and it's confusing me!</p>
  
  <p>If you view <a href="http://jsfiddle.net/E6kGP/1/" rel="nofollow">http://jsfiddle.net/E6kGP/1/</a> then you can see 2 simple divs next to each other each of which contains a p tag each with different font sizes and matching line-heights.</p>
  
  <p>There is a small gap between the top of the p container and the top of the contained text which is different depending on the font sizes (and line-heights). This means that the top of the text in each p is not vertically aligned. If the line-heights didn't match the font-sizes then I could understand this but surely if they are the same then the line-heights should match the tallest character and hence the highest point of the first line should be the top of the p container? Obviously this can be hacked using padding/margins or absolute positioning but i would like to understand why this doesn't work by default and what the correct way is to fix it?</p>
  
  <p>As requested by SO the code from jsfiddle is also below:</p>
  
  <pre><code>div {float: left; width: 50%;}
  p {margin:0 0 1em;padding:0;}
  #left p {line-height:36px;font-size:36px;}
  #right p {line-height:16px;font-size:16px;}
  
  &lt;div id="left"&gt;
  &lt;p&gt;
  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  &lt;/p&gt;
  &lt;/div&gt;
  &lt;div id="right"&gt;
  &lt;p&gt;
  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Thanks very much as ever everyone!</p>