开发者

Page width varies according to Iframe size?

开发者 https://www.devze.com 2023-01-08 22:16 出处:网络
I have a requirement where i need to display a aspx page say login.aspx in two 开发者_Python百科different Iframes of different width without scroll bar.

I have a requirement where i need to display a aspx page say login.aspx in two 开发者_Python百科different Iframes of different width without scroll bar.

E.g. Login.aspx should get displayed in iframe of width 800 and 700 without scroll bar. I know I should reduce the UI elements width but the width of the UI elements should vary for Iframes. Is it possible to achieve this with a single Login.aspx by varying the UI elements width according to Iframe width?


This can be achieved by dynamically loading the CSS based on Iframe width and height

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号