I want to make a div fit the initial height and width of a users screen.
I think the following crudely drawn diagram explain this better:
#div
{
width: 100%;
height: 100%;
}
does not seem to work
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…