View Full Version : problems with layers in dreamweaver
abichap
September 18th, 2003, 05:53 AM
Hi people. I have made this menu using layers in dreamweaver. When the window is maximized, the layers are positioned in they way that I want them to be. But the moment I resize the window to a very small size, the layers go out of position. The example is here :
http://www12.brinkster.com/abichapkongsee/html/enquiry.htm
can someone offer any solution to this? Thanks!
abzoid
September 18th, 2003, 07:15 AM
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=34518
abichap
September 18th, 2003, 08:41 AM
from that thread point of view, is css and javascript the only solution to my problem?
abzoid
September 18th, 2003, 08:50 AM
Yes, you have to use DHTML (css and javascript) to control relative layer positioning due to the way relative layers are implemented.
abichap
September 18th, 2003, 09:40 AM
so do you know of any other ways to put a picture on top of another picture just like in the link that i showed ( the left hand side, the menu ) i thought of layers but it seems that layers can't be used due to relative positioning
abzoid
September 18th, 2003, 09:50 AM
There is another way. Make the underlying image a background within a table or table cell, then place the other image within that cell. You need to create your images accordingly, and you may need to use a transparent spacer image to hold the table at the proper size.
abichap
September 19th, 2003, 07:32 AM
sorry abzoid, i don't really get what you mean. do you have a example or something like that to show me? sorry, i'm slow
hemisphere
September 26th, 2003, 02:33 PM
I took a look at your site. Just wondering why you made the nav bar in layers? If you built it in a table, it wouldn't move when you resized the window. Also, do you need to have the page resize? You could keep your layers, and set the page to not resize. However, the overall size of the page would need to a common size that could be viewed on most monitors ex. 700 pixels wide.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.