Make sure to validate your code using the W3C Validator before proceeding.
Your website has numerous errors that need to be addressed. Once these are fixed, you should see improvements in how your site functions. If not, feel free to reach out for further investigation.
---- Update ----
The issue stemmed from using position: absolute with a negative margin of -220px on a particular line within nested divs, potentially causing confusion for the browser.
To rectify this problem, apply the following:
Include
float: left;
to the #line1 and #line2 divs. Additionally, remember to clear your divs by using
clear: both;
You will also need to adjust the top position of your line accordingly.
If you require further assistance or if the issue persists, please don't hesitate to leave a comment below.