A much easier way: Even if the width of "main" isn't specified, you can find that by using:
document.getElementById("main").offsetWidth(); that + 16px = the width of the iframe. Hope it helps. - hobnobLover. http://www.hobnobLover.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial API Definition" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---