Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Iframe space problem

shai ban
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a iframe for showing the context menu. In Iframe I have a <table> with the structure like this
<head>..... </head>
<table id="contextmenu">..... </table>

at runtime, I am setting the iframe's height equal to table('contextmenu')'s offsetheight. Now the problem is, when I display this iframe on request of context menu, it displays some space under the table. If I enable the border of that iframe and table, table's height is less than iframe's height though we have set them equal.
What can be the reason.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic