On the website I am making, I have a navbar and then an image right under it.
<Navbar />
<img src="idk" />
<!-- Example -->
My Navbar uses fixed position which means that it is positioned on top of the image. (I don't want that) I could fix this by adding a margin to the top of the body but the problem is that the height of may nav bar fluctuates depending on the size of the browser window. For example, if you shrink the browser window, the nav bar gets smaller to account for the lack of space. This means I can't just use a hard coded margin.
btw I'm using react