View Full Version : Problem With Overlapping Div

06-11-2012, 06:50 PM
A page on my site consists of 2 columns created with css divs.

The left column is of fixed width, and its position is fixed. The right column is fluid.

When I reduce the size of the viewport window, the right column will soon overlap into the left column. I do not want this overlapping to occur, as it will make my content unreadable. What css settings should I use to prevent this?

Thanks in advance.

06-11-2012, 06:55 PM
Most likely you would liek to use float positioning.

Do you have some code we can look at?

06-12-2012, 04:18 AM
I now have the solution, which is by using :-

margin left: xxxpx;

to create a margin space for the right column div the same width (xxxpx) as the left column.