如何根据客户要求在Mvc4中更改页面的方向 [英] How Can I Change The Orientation Of A Page As Per Client Requirement In Mvc4

查看:51
本文介绍了如何根据客户要求在Mvc4中更改页面的方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用Web Farms更改页面的方向

can i change orientation of a page with Web Farms

推荐答案

在body标签上使用dir属性...

Use dir attribute on the body tag...
<body dir="rtl|ltr">
    ...
</body>



此元素由子元素继承...

根据客户端渲染其值(ltr或rtl)...


This attribute is inherited by child elements...
Render its value (ltr or rtl) according the client...


这篇关于如何根据客户要求在Mvc4中更改页面的方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆