PDA

View Full Version : Shifting Elements.


Boy-Kun
07-27-2010, 01:56 PM
Busy with a website, Im in the midst of moving some content over to a different layout,

When I get the content to sit in the right place. I end up with a small problem.

Whenever you adjust the page size. the content on the page shifts and moves about.

This is whats affecting it


#whole {
position: absolute;
right: -53px;
bottom: 85px;
width: 1128px;
height: 461px;

}

Whenever I add this in (which is what im using to adjust the position of the content, the on page content shifts with the page size.

How would I go about stopping such problem.

Thanks.

Corrosive
07-27-2010, 03:31 PM
Use relative positioning as your layout basis. and then floats, margins and padding to position.