SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Nov 2000
    Posts
    740
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Firefox shows taller cell

    I have this code in part of a table:

    Code:
    <td width="41" height="25" bgcolor="#99CCFF"><p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong></p></td>
        <td height="20" colspan="3" bgcolor="#99CCFF">&nbsp;</td>
        <td height="20" bgcolor="#99CCFF">&nbsp;</td>
    Its from here: http://www.access-programmers.co.uk/...isplay.php?f=6

    Look just below the tabs using Firefox and you can see the blue bar is taller than if you go to the homepage of my site. If you look using IE its always the same height.

    What is wrong with my code that causes this anomaly?

    Thanks,

    Jon

  2. #2
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Jon. Basically I is just IE that show the bar differently. All other browsers showing it similar to FF (Chrome, Opera, Safari) So how does it suppose to be?
    “Good artists copy, great artists steal” (Pablo Picasso - 1934)

  3. #3
    SitePoint Guru
    Join Date
    Nov 2000
    Posts
    740
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its supposed to be like it shows in IE!

  4. #4
    SitePoint Zealot Amit Yaron's Avatar
    Join Date
    Jan 2011
    Location
    Hod Haharon, Israel
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jon Lawrance View Post
    I have this code in part of a table:

    Code:
    <td width="41" height="25" bgcolor="#99CCFF"><p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong></p></td>
        <td height="20" colspan="3" bgcolor="#99CCFF">&nbsp;</td>
        <td height="20" bgcolor="#99CCFF">&nbsp;</td>
    Its from here: http://www.access-programmers.co.uk/...isplay.php?f=6

    Look just below the tabs using Firefox and you can see the blue bar is taller than if you go to the homepage of my site. If you look using IE its always the same height.

    What is wrong with my code that causes this anomaly?

    Thanks,

    Jon
    Should all the cells belong to the same row? I see that one cell's height is 25, while the others' heights are 20. Didn't see any "<tr>". I think the row should have the height attribute set.


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
  •