web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Can we make HTML text ...
Power Apps
Answered

Can we make HTML text Box A responsive or dynamic box ?

(0) ShareShare
ReportReport
Posted on by 825

Hi All 

 

I'm trying to create some responsive app, i know HTML is good for a lot of stuff when it comes to Appearance of any application, 

 

Hence I'm just a bit confused, is there any way where we can make HTML Text Box a responsive so that it adapts the height and width the way screen changes. 

 

 

If yes how can we do? 

 

Any suggestions on this ? 

 

Please my solution below, the image which shows the result of HTML text box, which is static and fixed at one position how ever i need that to be dynamic.

 

The code

"<div style='margin:10px;width:589px;height:112px;background-color:#;box-shadow:0 3px 6px 1px #ccc; border-radius:15px'>

</div> "

result

Untitled.png

Thanks 

 

 

I have the same question (0)
  • ScottDurow Profile Picture
    1,039 on at

    Not quite understanding your question - in the html snip you've posted, there is an absolute width and height. 

    See https://www.w3schools.com/html/html_responsive.asp for more info on how to make your html responsive to the available viewport.

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Tapesh :

    Do you want to create responsive HTML images?

    The answer is yes.

    The key is to use "&" to connect the string and the formula.

    Ive made a test for your reference:

     

    "<div style='margin:10px;width:" & Parent.Width / 2 & "px;height:" & Parent.Height / 2 & "px;background-color:#;box-shadow:0 3px 6px 1px #ccc; border-radius:15px'>
    </div> "
    /* The length and width of the image will automatically become half of the screen*/

     

     

    Best Regards,

    Bof

    1.jpg
  • Tapesh Profile Picture
    825 on at

    @v-bofeng-msft 

     

    Thanks so much for the help and support this was really needed as i was looking for solution related to this since long.  Thanks a lot for your help again. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard