why my site appears bad in Firefox 3 ?

Discussion in 'Programming' started by MeetHere, Jul 9, 2008.

  1. #1
    Can anyone help me.

    My health directory appears broken in firefox 3.

    i think it looks good in FF2 and IE.

    Any knowledgeable coder on DP ?
     
    MeetHere, Jul 9, 2008 IP
  2. k-aos

    k-aos Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Firstly, your space2 div is 468px high:
    #space2 {main.css (line 46)
    float:left;
    height:468px;
    width:21px;
    }
    HTML:
    That's what causing the large white space. Secondly, the div under space2 has to have a defined width. You have to give it a width, like 600px or something. Here's what I got after correcting the above.
    [​IMG]
     
    k-aos, Jul 9, 2008 IP
  3. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #3
    Hi
    thanks for your response.
    can you show me corrected CSS you used. ::)
     
    MeetHere, Jul 9, 2008 IP
  4. k-aos

    k-aos Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    First, for the space2 div (bold, indicates changes):

    main.css (line 46)

    #space2 {
    float:left;
    height:10px;
    width:21px;
    }

    And ...

    index.html Line 20 - 22

    <div id="space2"/>
    <div style="float: left; width: 630px;">
    <div style="float: left;">

    Note the position of the div that has been changed. It is the div below space2, which I also edited above.

    Regards,
    ST.
     
    k-aos, Jul 9, 2008 IP
  5. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #5
    great, it looks good.
    but i see a difference in FF and IE

    In IE , there is a little space between header and top navigation.
     
    MeetHere, Jul 9, 2008 IP
  6. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #6
    Ask the coder who did the site to fix it, it should be easy on them.

    Peace,
     
    Barti1987, Jul 9, 2008 IP
  7. k-aos

    k-aos Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Just change the CSS. The part on the height of space2 div.
     
    k-aos, Jul 11, 2008 IP