How to fix position of first div at center and add more div around first div as per requirement, to, left, right, top and bottom and scroll to that div using fix navigation at top of page

I will use absolute position styel for all five divs like shown below, just change top left for others

#div1 {
position:absolute;
top:1px;
left:300px;
}

How to scroll to each div when all div's are of 100% height and width ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.