Results 1 to 5 of 5

Thread: Please help!!!!!!!!!!

  1. #1
    Join Date
    Jul 2009
    Location
    Pakistan ( Karachi )
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Please help!!!!!!!!!!

    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

  2. #2
    Join Date
    May 2005
    Posts
    141
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  3. #3
    Join Date
    Jul 2009
    Location
    Pakistan ( Karachi )
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    dear
    will u tell me please what can i do for correct these errors
    thanks

    Quote Originally Posted by spyder View Post
    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

  4. #4
    Join Date
    May 2005
    Posts
    141
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  5. #5
    Join Date
    Jul 2009
    Location
    Washington (USA)
    Posts
    94
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •