Hi guys,
I have a question about positioning with CSS. Basically I use absolute positioning to position my divs in my webpage. The problem is when I use absolute positioning and I resize the window the div does not re-position itself to fit in the resized window. This also occurs when I view the webpage in different resolutions.
Alternatively I tried using relative positioning. It did fix the problem, but with relative positioning it leaves an empty space where the original position of the div was and it doesn’t conform to the width and dimensions of my webpage.
So my questions are basically:
1. How can I use absolute positioning to position my divs to the correct spot and preserve the layout when the window is resized or when the page is viewed in different resolutions?
2.
With relative positioning is it possible to remove the empty space created from the original position of the DIV?
I’ve heard about using containing blocks but how does it work?
Thank you. And I’m sorry if these questions have been asked before. I couldn’t search the forums efficiently because I’m capped for the rest of the month, and this matter is urgent.
Thanks again.