Within my code, there is a <p>
element structured as follows:
<div><p>Text Goes Here <span></span</p></div>
The CSS I currently have is:
div { text-align:center } span { float:right }
An issue arises when I populate the span with text - it shifts the content to the left. Is there a way to ensure that the paragraph remains unaffected when the span is filled with text? It's important to note that I am unable to modify the HTML, so it must remain unchanged.
Appreciate any guidance on this matter!