Need help for subtle thing for the Header in the resume


#1

please see attached picture,

question: why there is no difference?

HOWEVER, if i remove the "position:fixed" then, the gap will be evident....


#2

Well, that is because of position fixed. Position fixed takes the element out of flow, which means other elements ignore it when they are positioning themselves. So, the margin-bottom has no effect, if you wanted a gap, increase the margin-top on your left and right


#3

thank you Stetim, for your help, I was just trying to change parameters to see what will happen to deepen the understanding of each line of codes :smile: