Very Strange - WHY

Discussion in 'HTML & Website Design' started by oo7ml, Oct 30, 2008.

  1. #1
    My site seems to load incorrectly sometimes in Firefox 2 & 3. I have tested it on many different computers and it loads fine 8 times out of 10 but some times the site seems to be broke (as seen in image 2) however if i refresh the page, the page loads fine again, very strange

    I have attached 2 images of the site

    1 = perfect

    [​IMG]

    2 = broke

    [​IMG]



    Thanks in advance to anyone who can help me out with this one. I just don't understand how it could load and display two different ways inconsistently.

    Thanks again
     
    oo7ml, Oct 30, 2008 IP
  2. mds

    mds Active Member

    Messages:
    256
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    It means that you have to do more work on your code to make it cross browser compatible. try to define a doctype and then tidy up your html and css to pass or nearly pass validation atleast
     
    mds, Oct 30, 2008 IP
  3. oo7ml

    oo7ml Well-Known Member

    Messages:
    656
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    But it should either work 100% of the time or not work 100% of the time. Why does it only sometimes work,

    thanks in advance
     
    oo7ml, Oct 30, 2008 IP
  4. Masterful

    Masterful Well-Known Member

    Messages:
    1,653
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    140
    #4
    It worked fine for me. I tried it loads of times (with Firefox 2/Windows XP) and it loaded fine every time.
     
    Masterful, Oct 30, 2008 IP
  5. mds

    mds Active Member

    Messages:
    256
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Can you post your code here so we can take a look at it.
     
    mds, Oct 30, 2008 IP
  6. Artimmi

    Artimmi Active Member

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    68
    #6
    You can quickly change padding for boxes in css code to something like this:

    
    #box1 {
    float:left;
    height:320px;
    padding:5px 0 0 5px;
    width:251px;
    }
    
    #box2 {
    float:left;
    height:320px;
    padding:5px 0 0 5px;
    width:251px;
    }
    
    #box3 {
    float:left;
    height:320px;
    padding:5px 0 0 5px;
    width:251px;
    }
    
    Code (markup):
    That will decrease padding between boxes and resolve our problem.
    Anyway, I haven't seen anything incorrect when was browsing through your site.
     
    Artimmi, Oct 30, 2008 IP