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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.