<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>I wrote a similar script, and used the following code to allow an app to take up the remaining space:

&lt;pre&gt;
var contentNode = document.getElementById('content').childNodes[0].childNodes[0];
contentNode.style.width = &quot;100%&quot;;
contentNode.childNodes[0].style.width = &quot;auto&quot;;
&lt;/pre&gt;

Note: this code is only for apps.new.facebook.com, but it doesn't have any affect on the other parts of facebook as far as I've tested.</body>
  <body-html>&lt;p&gt;I wrote a similar script, and used the following code to allow an app to take up the remaining space:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
var contentNode = document.getElementById('content').childNodes[0].childNodes[0];
contentNode.style.width = &quot;100%&quot;;
contentNode.childNodes[0].style.width = &quot;auto&quot;;
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Note: this code is only for apps.new.facebook.com, but it doesn't have any affect on the other parts of facebook as far as I've tested.&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-07-23T07:31:04Z</created-at>
  <forumable-id type="integer">30392</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">42374</id>
  <topic-id type="integer">13412</topic-id>
  <updated-at type="datetime">2008-11-16T23:49:02Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">60428</user-id>
</post>
