I have a banner that stretches to fill the width completely. Inside this main div, there is another smaller div measuring 30px in size positioned at the end. The nested div contains a close icon background image, and upon clicking it, the entire banner gets hidden using Javascript.
I am aiming to place this close-bar div right after the text content within the banner div.
Here is the desired layout:
[this is a banner with text inside of it [X]]
<div id="banner">this is a banner it has text inside of it<div id="close-ban"></div></div>