Avoiding overlapping of <div> using CSS/script

D

dinesh

Hi All,

I am trying to implement a web page with the help of three <div>
elements, which are not nested. My requirement is to retain one div in
the top of the page, one at the bottom of the page, and one at the
center of the page, irrespective of the web browser or resolution.

Also, I don't want them to overlap on each other when the window is
resized. Instead the window should be giving a scrollbar. Can someone
please help me out?

Regards,
Dinesh
 
M

Martin Jay

In message said:
I am trying to implement a web page with the help of three <div>
elements, which are not nested. My requirement is to retain one div in
the top of the page, one at the bottom of the page, and one at the
center of the page, irrespective of the web browser or resolution.

Also, I don't want them to overlap on each other when the window is
resized. Instead the window should be giving a scrollbar. Can someone
please help me out?

Like this?

<http://www.456bereastreet.com/lab/cssframes/>

You should be able to pick the bits of out the page source you need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top