开发者

ASP.Net intelligent scaling page based on page content

Like iPhone Safari Browser or Firefox (Ctrl + Scrolling), I need intelligent scaling where not only Divs but also font-size and images are scaled based on the viewable area of the screen.

I need to implement this in ASP.Net. Any suggestion?

Regards T开发者_运维知识库hant Zin


It's not a server side thing, its a presentation layer thing. You need to look at using relative measurement sizes in CSS for applying the appropriate scaling. i.e, using percentages or ems, instead of pixels.

One thing you can do on the server side is browser-sniffing. Find out what user agent your user is using, and then push that down with your page so you can apply the appropriate stylesheet where appropriate.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜