TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Two Different Resolutions & DHTML

Page: 1 Reply
Mar 31st 2001#845 Report
Member since: Mar 31st 2001
Posts: 7
Hey everybody,
I have a question having to do with DHTML and resolutions. :confused:
I learned how to do the drop down menus using your Tutorial but the problem is that if the site is viewed in a different resolution (let's say 640x480) then it's designed in (let's say 1024x768) the layers move around and instead of having a layer popping up from right under the picture (button) it could pop up halfway down the page!
Any ideas on how to avoid this problem?
Thanks!

Mike Smith
Reply with Quote Reply
Apr 1st 2001#875 Report
Member since: Mar 25th 2001
Posts: 163
It's because the positioning of your layers is screwed up in a different, smaller or bigger resolution....


I didn't try myself , but I think that the problem is that you forget to put a position attribute to your layer propertys in the stylesheet..

did you do something like this?? (if not, try it and see if it works)

#menuleft {
position: absolute;
top:200;
left:200;
width:...
}

try this code but maybe it also works with position:relative.. Just try and then post it on the forum if it still doesn't work...


Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum