This will not work because the h1 is 100% wide and the float does not do anything
Try doing text-align:right; instead. If you want to keep the text aligned left, but the container on the right side, you need to change the h1 to display:inline-block;
Your method is not so bad, I would leave only the <br /> there, because you cannot place it with CSS and target the text with this class: https://prnt.sc/otg9rs
Comments