Jump to content

ejay

Members
  • Posts

    3
  • Joined

  • Last visited

ejay's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Bingo!the offsetWidth and offsetHeight seem to give the correct answers!Cheers!I'm using the actual name of the control instead of a generic object (ie. Viewer1.offsetWidth instead of using document.getElementId() ), so it seems odd (to me) that they don't come up in intellisense! But they work!Thanks everyone for your help
  2. well...I'm looking "up" the DOM , I see no sizes on the <td>, nor on the <tr>, 100%/100% on the <table>, nothing on the <body>, nothing on the html. the whole page is inside a frame, if that helps.Cheers,ejay
  3. Heya:I've got an OBJECT (i.e. an active-X control) whose height and width are set to 100%. For some reason, the contol isn't sizing properly. I tried adding javascript to get the actual height/width, but it keeps returning "100%", not the pixel size. The control is nested in a <td> inside a <tr> inside a <table>. How do I find out what the containing control's size is so I can explicitly set the OBJECT's size to that? TIAejay
×
×
  • Create New...