My dilemma is as follows:
I have a line within a document that has a set width.
Now, there are 3 elements involved - one <a>
tag and two <span>
tags.
The content in the <a>
tag varies in width each time it appears on the line.
The third element, which is a <span>
, needs to be aligned with the right edge of the container holding all three elements.
The second element, being the first <span>
, should be centered perfectly.
So far, I haven't been able to figure out a solution for this. While using a table may work, it doesn't feel like the best approach. I'm confident that there's a CSS-based solution available too.