Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tkostynyuk
Regular Visitor

How can i change the style of the iframe and iframe content?

I need to have iframe content (report) to stretch inside the iframe. Now it has wide gray margins around it. Do i need to find a class of the div that containes the report and change it's style or there are some properties that i can set on the iframe? 

 

This is the div tag that has the margins:

<div class="displayArea disableAnimations fitToPage" explore-canvas-printer="" disable-print="" style="margin-left: -584px; margin-top: -337.625px; width: 1168px; height: 675.25px;">

 

 

Thank you!

3 REPLIES 3
samuelan
Regular Visitor

I am having the same problem. 

luisrh
Responsive Resident
Responsive Resident

I have the same problem.  does anyone have any input?  Essentially, we'd like to be able to set the "Fit To Width" style on the report as you are able to do in powerbi.com.

thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.