title: FancyBox 2 Ajax window size control
body: <p>I am working with fancybox2 and having trouble getting my fancy window to resize to the content. It seems to just stretch the entire width of the page...</p>
  
  <p><a href="http://www.mniac.com/rogue24/the-craft/press.php" rel="nofollow">http://www.mniac.com/rogue24/the-craft/press.php</a></p>
  
  <p>Click <strong>read more</strong> on the initial press article</p>
  
  <p>You will see I have the content in a container with an absolute width. I have tried every variation of setting I can find and nothing seems to be working...</p>
  
  <p>This is what I am using:</p>
  
  <pre><code>$(".fancybox").fancybox({
                      'type':'ajax',
                      'autoScale':'false',
                      'autoDimensions':'true'
                  });
  </code></pre>
  
  <p>This script worked for me:</p>
  
  <pre><code>$(".fancybox").fancybox({
                      'type':'ajax',
                      'autoSize': false,
                      'width': 800
                  });
  </code></pre>
  
  <p>'fitToView': false - made the popup crazy wide, far beyond the screen's limit. 'autoSize': true - is a default value so nothing changed with that. I found you can set the width by doing what is done above.</p>