Table layout padding/cellspace different in Firefox and IE.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anette
    New Member
    • Aug 2007
    • 16

    Table layout padding/cellspace different in Firefox and IE.

    Hi,

    At http://www.vallentunapingst.se/predikan.html the space between the cells in the table (with the dates and the lines to the right) differs in Firefox and IE. Why? How do I make it look the same?
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Didn't have time to check. Check the margins of the <p> or other elements inside the cells.

    Comment

    • Anette
      New Member
      • Aug 2007
      • 16

      #3
      There is no margin set in the table, <p>-tag or any other that could have any affect except for in the html and body tags.

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        All those things have a default margin set in every browser. You can set them to zero with '*{margin:0}' in your css.

        Comment

        • Anette
          New Member
          • Aug 2007
          • 16

          #5
          Thanks! That did do it.

          So Firefox and IE have different default margins?

          Comment

          • drhowarddrfine
            Recognized Expert Expert
            • Sep 2006
            • 7434

            #6
            Yes. Firefox's values can be seen in the profile directory somewhere, called html.css. IE hides theirs.

            Comment

            Working...