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
    Jun 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problems with IE6

    Hi there

    I am making a table setup with CSS... In Opera and FF there is no line height between table rows, but in IE there is a much more space between rows, althoug I have set up

    html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, tr, td, fieldset {
    margin: 0;
    padding: 0;
    border: 0;

    }

    at the beggining of my css.

    IE is obviously wrong. How can I fix that, is this a known bug?

    Jerry

  • #2
    New Coder
    Join Date
    Oct 2005
    Location
    Buenos Aires, Argentina
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    Make sure you don't have any characters into any cell. Any character may generate a space into the cell.

    Also, if I where you, I'll think about table-less, but thats for another topic

  • #3
    New Coder
    Join Date
    Jun 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well of course I have characters, I am using table to present tabular data to the visitors.

  • #4
    New Coder
    Join Date
    Oct 2005
    Location
    Buenos Aires, Argentina
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry then, I got the wrong idea.

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,662
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    You still need to set cellspacing and cellpadding to zero (HTML attributes in the table tag) for IE.

  • #6
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Also might want to add "border-collapse: collapse" in the table rules to collapse the inherent margins between cell borders.

  • #7
    New Coder
    Join Date
    Jun 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi guya. Thanx a lot, I don't know why, but now it works...

    Cache problem? Hmmm...

    Jerry


  •  

    Posting Permissions

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