nilanko
04-13-2009, 08:29 AM
I too have the same problem as Illufox but I did not understand the solution given by Fang.
So, Fang can you explain or anyone else? :confused:
So, Fang can you explain or anyone else? :confused:
|
Click to See Complete Forum and Search --> : Layer position differs depending on screen resolution nilanko 04-13-2009, 08:29 AM I too have the same problem as Illufox but I did not understand the solution given by Fang. So, Fang can you explain or anyone else? :confused: Fang 04-13-2009, 10:23 AM Post your code or preferably give a link nilanko 04-13-2009, 10:47 AM See here : imgMapObj = document.getElementById("imgMap"); imMouseX = mouseX - imgMapObj.offsetLeft; imMouseY = mouseY - imgMapObj.offsetTop; (http://cmtechy.co.cc) It appears correctly in 1024x768 res. but not on other resolutions.:( Fang 04-13-2009, 11:08 AM Do you mean the whole site is centered in that resolution? A quick fix would be:body { position:relative; width:1000px; margin:auto; } nilanko 04-14-2009, 06:02 AM WOW!! Awesome! You are really a CSS guru.Thanks, you solved my problem in a second and I kept on trying for 24 hrs before that!:D webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |