html - How do prevent a div from resizing? -
2 weeks ago I started learning about HTML and CSS, and I really enjoy it.
However, I was struggling to regain my foot (Div) with my background on my home page. So whenever I zoom in or out in the background, but the footer revolves around. In the same way when I change my browser
It sounds weird that you can say that I want to "glue" my div in the background so that they can resize together and go together.
(The website is still in progress in one work, not completely finished)
It does not look very good.
Do anyone know how I can fix this?
You have minimum width: 1200px
set at #wrapper
. This is making an issue with the new area, if not flexible, then the browser is resized. However, you may not see & lt; Nav>
Elements will need to react reactants, so that they can also change the size with the NAV / footer bar.
Example:
#navbar {float: For example:
Correct; Margin-left: 700px; Margin-top: -155px; Width: 50%; }