Log in

View Full Version : How to lock a layer in place??



silverslc
06-06-2006, 02:30 AM
I have a layout that has an image "centered" on the screen. I would like a text box to be attached to the top left corner of the image. I have used a layer with postion relative and positioned it in the right spot via top, right coordinates. So when you click drag the lower right corner window everything moves left or when window size is increased everthing moves center.

My problem is when you shrink the window past the images viewable space, the text moves left completly off the screen whereas the image stops several pixels before the edge.. How do I get the layered text to stop and match the image postion when the screen is shrunken down?

Or should I use another method completly? I tried using a table with z-index but the exact same thing occured.

Thanks,
Nick