vaibhavs
04-25-2006, 07:38 PM
Hi,
I need some help with layers.
I need 2 exactly overlapping layers (one with an Image & one with dynamic text). Both horizontally center aligned.
The problem is that if the screen resolution changes, the height of the DIV with text increases. But the layer with image remains the same.
This results in dis-alignment.
Pls help how to code a cross-browser, center aligned, overlapping layers.
I think the followuing shoudl sove the problem, thou I am not sure if this is possible.
Once the layer with dynamic content is created, try to get its size & then dynamically create the image layer of that dimension.
PLs help.
Thx
Vai
I need some help with layers.
I need 2 exactly overlapping layers (one with an Image & one with dynamic text). Both horizontally center aligned.
The problem is that if the screen resolution changes, the height of the DIV with text increases. But the layer with image remains the same.
This results in dis-alignment.
Pls help how to code a cross-browser, center aligned, overlapping layers.
I think the followuing shoudl sove the problem, thou I am not sure if this is possible.
Once the layer with dynamic content is created, try to get its size & then dynamically create the image layer of that dimension.
PLs help.
Thx
Vai