I can see no difference with removing the float rule from .herboyleft in IE, Firefox or Chrome?
If you change .herboyleft to a span and remove the float then the spacing will increase because the inline element is then inline and aligned on the baseline to allow room for descenders and the line-height will have no effect on the spacing because it’s the block elements parent that will define the overall line-height on that line.
If you now float the span.herboyleft or set it to display:block then the line-height will take effect and the element is not aligned on the baseline any more and any spacing is reduced. It’s the same effect you get with inline images leaving a gap underneath. This article from many many years ago explains the principles.
However, I’m not sure if that was what you are asking as I couldn’t see anything different when removing the float from the p element.
Note that you don’t need to define as span as display:inline because they are inline elements by default. Also vertical margins to not apply to inline elements.
<td>4</td>
changed from:
<td> <p class="herboyleft"><span class="heap">Beer House Hare and Hounds Inn<br>139 Stamford St</span></p></td>
changed to:
<td><span class="herboyninetynine">Beer House Hare and Hounds Inn<br>139 Stamford St</span></td>
<td>16</td>
changed from:
<td>Stamford Street <p class="herboyleft"><span class="heap">Town Hall<br>Police Station</span></p></td>
changed to:
<td>Stamford Street <span class="herboyninetynine">Town Hall<br>Police Station</span></td>
<td>186 <p class="strike">192</p></td>
changed from:
<td><p class="heap"><span class="herboy">Ridge Hill Lanes<br>Cromwell Terrace</span></p> 68</td>
changed to:
<td>68 <span class="herboyninetynine">Ridge Hill Lanes<br>Cromwell Terrace</span></td>
The code in entries 185 and 186 is changed from the code I looked at but the issues are much the same. The line-height on the span will have no effect to the overall height of the line-box as mentioned in my other post as that will be controlled by the largest line-box in that section.
I would not float the item either as you have changed source order and added a hacky padding to push the float back into position. All you really need to do is put the content in a div or p(without margin) and control the line-height from there.
e.g.
<div class="test" style=" line-height: 0.9;">66 <span class="heap">Ridge Hill Lanes<br>Cromwell Terrace</span></div>
(inline code for example only)
The span and the break will now get the smaller line-height and the line-height will be reduced. If you wanted the ‘heap’ content to be stacked on the taller number (66) then you should float:left both the number (in a div) and the span and then they can have individual line-heights.