Is there a way to determine the length of the content contained inside an h2 element, which changes. So an hr tag can be set to the same length plus some additional width?so it would look sort of likeI tried some psuedocode to explain what I mean. I would move this to a css rule of course<h2>SOME RANDOM TITLE LENGTH</h2><hr style=width_of_H2_plus_5% />
Determine content length to have a dynamic hr tag
html;css
If it's OK to use float or absolute positioning then you could try the following:<div style=float: left; width:auto;>   <h2>SOME RANDOM TITLE LENGTH</h2>   <hr style=width: 110%; margin-left: -5%;/></div>Unfortunatley, I don't think width:auto works with static or relative positioning.