I know, I know... another positioning question. I used to know the answer to this. In fact, I learned the answer to this on this very site. Unfortunately, I have forgotten, and after searching old posts on the forum for over an hour cannot find the thread that had the answer.
Here's the deal: I have a division that contains an image and has a zindex of 3... call the division "image". I also have another division, call it "boxes", that contains checkboxes placed over the image. I need to be able to position the checkbox division relative to the image division so that if the screen is resized or resolution varies the boxes will still be in the right place. I've tried a number of combinations of absolute and relative positioning for both divisions, and nothing seems to work. The best I can get is to have the boxes division positioned relative to the window, which is not what I need. Help?
Here's the deal: I have a division that contains an image and has a zindex of 3... call the division "image". I also have another division, call it "boxes", that contains checkboxes placed over the image. I need to be able to position the checkbox division relative to the image division so that if the screen is resized or resolution varies the boxes will still be in the right place. I've tried a number of combinations of absolute and relative positioning for both divisions, and nothing seems to work. The best I can get is to have the boxes division positioned relative to the window, which is not what I need. Help?