I have been attempting to adjust the width of the iframe in fancybox v2 to fit my content properly. However, every time I try, the content appears too large within the iframe and requires horizontal scrolling to view it all. My goal is to see the entire width of the content in the iframe without any scrolling necessary. How can I achieve this solution?
I have attempted the following code but it did not work as expected.
$(".fancybox").fancybox({
maxWidth: 992
});
For more information, please visit