Is there a way to underline a header (or any text) so that the line stays the same width as that text on all devices? Typically a border line will belong to the container the text is in and when the text gets smaller, the container may not.
This can be easily done by creating the text with line below in a graphics package and adding it as a PNG or whatever - however, I would prefer not to do this if possible.
I can’t simply underline the text because it needs to be further down, have certain colours and thicknesses.