offsetHeight different in IE and FF??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marchaos
    New Member
    • Feb 2007
    • 2

    offsetHeight different in IE and FF??

    I'm retreiving the offsetHeight of an element in firefox and IE, but in some circumstances, the height is bigger in IE that what it is in firefox, causing problems. Is there something that could be causing this that i'm not taking into consideration? padding/borders?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Welcome to The Scripts.

    See this page for the differences in the browsers for offsetH/W, clientH/W, etc.

    Comment

    • marchaos
      New Member
      • Feb 2007
      • 2

      #3
      That only seems to be related to document.docume ntElement. The element that i'm having trouble with is just a div.

      Comment

      • MikeFoster
        New Member
        • Feb 2007
        • 19

        #4
        There are many things that could be causing a difference. You'll need to show us the html and css - or give a link to the page.

        Comment

        Working...