Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Responsive layout with absolute positioning – is it possible ? Re: Responsive layout with absolute positioning – is it possible ?

#102229

Thanks for the reply Jamy.
This seems to be working horizontally but lets say I do this:



this is a test para.this is a test para.this is a test para.this is a test para.this is a test para.this is a test para.this is a test para.this is a test para.


Now the text is going to flow into second div as the top coordinate is always constant.

In case of this:

#static { background: lightblue; margin: 0 auto;position:absolute; left:500px;top:50px; }
#absolute { background: red; position: absolute; left: 50px; top: 50px; }

The right div will overflow the screen when the screen gets small.