Layers - Web Browsers - screen Resolution problems

Hi All.

I am sorry if this problem has been posted and answered before.

I have made a Form for web and put a layer on the image that i have inserted in the Form. i have put some fields in the layer and when the Form is opened in the web browser, it appears that fields are part of the image.

My current screen resolution is 768*1024.

The form looks fine on this resolution. but if somebody has different screen resoultion, layer position gets changed and hence fields positions are changed and they do not show up on appropriate places on the image.

is there any mechanism through which the layer just adjust its position on the image and fields show up on the same image areas as they were showing before.

Best Regards

Mujahid ur Rehman

Subject: Layers - Web Browsers - screen Resolution problems

I haven’t tested, but try creating the picture in a layer rather than directly on the form. Create a layer with the fields inside the same parent layer. When the layout changes, the picture and fields will be relative to the parent layer and should display the same.

One other note: If the parent layer is absolutely positioned, it will retain it’s absolute position when the rest of the form conent layout changes. The layer will appear out of position relative to the rest of the form content, but is actually maintaining it’s absolute position. If you want the parent layer to adust with the rest of form contents, make it’s position (top and left) relative.

Regards,

Vin Manduca

Ibm

Subject: RE: Layers - Web Browsers - screen Resolution problems

Thanks alot Vin.

i appreciate your help.

i have already solved the problem and i am readig your response after solving it. but do read my solution.

My Solution:

well i didnt put the picture in the layer rather i pasted the Anchors of all the layers on the top left corner of the Form (parent container).

Actually when i used to change the resolution, the text used to get adjusted accordingly and so did anchors. but when the anchors are in the very begining with not text or design element before them, layers’ postions are adjusted according to the change in the resolution not according to the “shrinkage” of text and design elements. (i mean layer position becomes relative to the anchor). and the layer remains on that specific part of the picture which i actually want (as picture resolution also gets changed).

thanks alot

best regards

Mujahid ur Rehman

Subject: Layers - Web Browsers - screen Resolution problems

Set Height and Width of layer to Auto. :slight_smile:

Subject: RE: Layers - Web Browsers - screen Resolution problems

Dear Ahsan.it is still not working. i tried this “Auto” option before also. and in my point of view Hight and Eidth of the layer has nothing to do with the positioning.

i would appreciate if you tell me anyother option that you have in your experience.

thanking you in advance.

best regards

Mujahid ur Rehman