View Full Version : Please help!!!!!!!!!!
dawoodaslam
07-07-2009, 07:32 AM
i have made a web site www.jai.com.pk
in this web site im using a layers and frame, but when any user see this web site on laptop or any wide screen monitor ( CRT or LCD ) or greater then resoulution of 1024 * 768 the menu and frames and all layers on all pages has been disturb, i dont know what can i do, can any body help me
pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
spyder
07-07-2009, 08:22 AM
almost everything in your website is positioned absolutely. i'm pretty sure you are gonna need to go through and switch most of the stuff to relative for it to work. but when they are relative, the exact pixel things will be off because it wont be measuring off of the top left corner
dawoodaslam
07-07-2009, 08:46 AM
dear
will u tell me please what can i do for correct these errors
thanks
almost everything in your website is positioned absolutely. i'm pretty sure you are gonna need to go through and switch most of the stuff to relative for it to work. but when they are relative, the exact pixel things will be off because it wont be measuring off of the top left corner
spyder
07-19-2009, 10:29 PM
the main body div is centered correctly, and you achieved this by setting the left and right margins to "auto"
do the same/similar to the other elements of the page, or make a wrapper div that is centered, and put everything into this
All I can think of is to have separate pages. Use a JavaScript like this on your index page:
if(screen.width>1024)
{alert('Welcome to (website)! We're redirecting you to a page that fits your monitor better...');
location.href='http://www.jai.com.pk/index2.html';
}
make an index2.html that supports a width of 1024 better.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.