Hello i have tried every different combination of code i know and i just cant figure out why my code is wrong. My problem is simple. My headers image is fully responsive but when i resize the browsers width, the spacing between the headers image and the content below it gets larger and larger. I would like everything to stay in scale and not create the huge gap. I hope i’ve explained this clearly enough for you all!
Your code is borked, illogical. There are flaws in the HTML structure and CSS.
This file removes the causes that prevent the image box from scaling down… fixed heights, etc.
It does NOT fix the fact that the menu at the top of the page will not adapt below about 1192px; therefore, a horizontal scrollbar is triggered at that width. In other words, the page is still borked but in a different area.
See comments within the CSS and note the restructured HTML.
Many thanks for replying. Some of the illogical code was born out of me trying various declarations over a number of hours. I am relatively new to this so i appreciate all your help. I wanted to get the paragraph resizing first before tackling the menu bar. That was more just to show you an idea of the lay out i am trying to achieve. I will study the code and see what i can learn.