I'm trying to make this blue line (a div) automatically fill the rest of the space
The width of the container is fixed to 800px but the h1 changes width depending on the length of the text.
I can use something like 80% percent and it works but it doesn't fill the remaining and looks ugly...
How would you do that?
Thanks
You could simply make the line the width of the overall box but then hide the overflow: