Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Aug 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Table border problem IE

    Hi All,

    I've attached two pictures showing what the problem is. The one on the left is from FF, the right is from IE.

    I'm using YUI dataTable and the table renders in IE with ugly borders around the cell, but in FF it renders properly.

    If I put "border-collapse: collapse" property, then the ugly borders go away in IE.

    However, it will also collapse the border for my "thead" rows, which I do not want.

    Is there another way to collapse the borders in IE without collapsing the "thead" borders?

    Thanks,
    Colin
    Attached Thumbnails Attached Thumbnails Table border problem IE-ff.jpg   Table border problem IE-ie.jpg  

  • #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    is there a link or possibly some code to post along just so we could take a look at it?

  • #3
    New Coder
    Join Date
    Aug 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Okay, I just made a temporary page. Here it is:

    http://colinsays.com/test/tables.html

    The problem only occurs in IE.

    Thanks for any help!

  • #4
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    Well, i have tried everything using CSS Vista, the best thing to do is try and add spacing(cellspacing) in the thead tag. Although i dont know if you can do that. Perhaps make the thead a seperate table and then add spacing. Im not sure why FF is correctly doing it but IE wont. Its almost as if FF is better..... hmmmmm?

  • #5
    New Coder
    Join Date
    Aug 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    LOL! Thanks for the reply. Yah I don't know why FF is so much better than IE. Mystery of the century.

  • #6
    New Coder
    Join Date
    Aug 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I tried to add cellspacing inside the TH tag. But I don't think that is valid.

    I also cannot separate the tables because the THEAD is used by YUI to do sort the columns.

    I guess there's not other ways around this? =(

  • #7
    New Coder
    Join Date
    Aug 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    any other ideas?


  •  

    Posting Permissions

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