Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    19
    Member #
    14560
    I have worked out most of the bugs in this site thanks to your guys help, but there are still a couple that I just cant fix. One of the major ones is a shifting scrollbar.
    http://www.ggitime.com/watch_view.ph...2&st=WHC&stw=6
    On this page, the scrollbar should be at the far right of the cell, but after the page loads it shifts to left by 5 - 10px. I am at a loss. HELP PLEASE !!!!

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    You're using PHP to render the page, which is fine, but
    look at the HTML source. ... it's all crammed onto one blob with
    no whitespace. Very hard to troubleshoot that.

    In fact, carriage return problems can cause shifting and spacing problems with IE.

    Fix the HTML output that your PHP renders and re-post the site.


  4. #3
    Junior Member
    Join Date
    Dec 2006
    Posts
    19
    Member #
    14560
    I tried to clean up the code as much as possible. I also took the source, and ran it through DW source formating, and posted that up as well. http://www.ggitime.com/watch_view.htm
    BTW, Firefox seems to display the site correctly, IE doesn't (big surprise there)

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    OK ...

    That HTML source is much easier to see.

    It will still be hard for us to troubleshoot without actually accessing everything.
    But this is how you should go about it ... systematically ...

    Start with Classes and Divs that have a width defined like:

    .watchSpecs {
    width: 96%;
    height: 384px;
    overflow: auto;
    margin-left: 10px;
    font-size: 9pt;
    }

    Then, comment out the width ...

    .watchSpecs {
    /* width: 96%; */
    height: 384px;
    overflow: auto;
    margin-left: 10px;
    font-size: 9pt;
    }


    Upload the change and test.

    By commenting-out various things, you'll soon discover where the
    problem is being introduced, and you can always "un-comment" things
    if they are not involved with the problem.

    I believe you'll find your problem with either a "width", "margin" or "padding"
    in your case. It's interesting that the width change does not happen right away,
    but there is a slight delay. I believe this happens either because it has to do with
    a <table>, that needs to load before the update, or a relationship with something
    in the other CSS file (lightbox). Once that 2nd CSS file loads, the width changes.

    Not sure if all of this will help or not.

    I've been following your "watch site" and must say that it's a really nicely done site.


  6. #5
    Junior Member
    Join Date
    Dec 2006
    Posts
    19
    Member #
    14560
    Thanks, I wish I could take credit for the design and graphics, but all I am doing is the back end coding to make the site work.
    I appreciate all your help that you have given.

  7. #6
    Junior Member
    Join Date
    Dec 2006
    Posts
    19
    Member #
    14560
    PS I commented out the width, and seems to be working now

  8. #7
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    So, with that, you can either leave it commented out, or try to figure out
    why it caused a problem. Perhaps commenting it out will cause it fail on
    a different browser? That's what is so hard about this stuff, browser compatibility.

    .... and as we all know, IE sucks.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:20 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com