March 9, 20197 yr i just imagine that i set my header and my footer and my content within them so the question what if i keep add content within header and footer - the height of the page will expand automatically or i set a defined number of height ?
March 9, 20197 yr Author 8 minutes ago, davep said: expands automatically so whats the amount of height i should set to body element ?
March 9, 20197 yr you don't need to set any height - that's the whole point, it all expands according to the amount of content
March 9, 20197 yr Author 42 minutes ago, davep said: you don't need to set any height - that's the whole point, it all expands according to the amount of content but i member i saw a height property before
March 9, 20197 yr unless you need a reason to set a height like for a full screen background simply don't set one. It's pretty much an edge case to need set heights on the page and it's not something you should be using or worrying about unless you have a specific use case. Also when you think about the range of devices out there - they are all different 'heights' anyway
Create an account or sign in to comment