Ipad按钮渲染样式 [英] Ipad button rendering style

查看:80
本文介绍了Ipad按钮渲染样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在ipad上测试我的网站。我的网页中的按钮没有采用我的自定义样式,它采用其默认按钮样式。因为我的文本内部按钮的对齐也丢失了。它是IPad的默认行为(根据IOS呈现按钮和文本框) (b)问候,

Hsakarp。

Hi,
I am testing my website in ipad. The buttons in my webpage are not taking my custom style ,it is taking its default button style.Because of that my text allignment inside the button is also missing.is it the default behaviour of IPad(rendering the buttons and textboxes as per the IOS style)?

Regards,
Hsakarp.

推荐答案

两个好资源给你。



1. Re:asp.net ipad设计 [ ^ ]

Two good resources for you.

1. Re: asp.net ipad design[^]
Quote:



您需要关注的是 的概念响应式设计技术。这侧重于创建可以适应客户端屏幕或界面(包括iPad等设备)的网站或Web应用程序。关于这个主题,下面有(2)

好​​的链接。第一部是来自上个月AspConf在线会议的Shawn Wildermuth的视频值得一看。


What you need to look into is the concept of Responsive Design techniques. This focuses on creating a website or web application that can adapt to a client’s screen or interface (which would include devices such as an iPad). There are (2)
good links below on the topic. The 1st is a video by Shawn Wildermuth from the AspConf online session last month which is worth watching.

响应式设计:


http://channel9.msdn.com/Events/aspConf/aspConf/Responsive -Design

使用基础与ASP.Net MVC的响应式设计:


http://www.simple -talk.com/dotnet/asp.net/responsive-design-using-foundation-with-asp.net-mvc/

希望这有帮助!



2. 在Asp.Net中检测iPad并相应更改CSS [ ^ ]


谢谢Tadit Dash.I很抱歉,如果我困惑你。我的问题是默认情况下所有按钮和文本框都以IOS Style呈现。说当前我的按钮在Clean Rectangele中,深蓝色。当我在IPad中渲染该页面时,我得到的是带有弯曲边缘的按钮,就像ipad中的其他按钮一样。我有什么方法可以强制按钮覆盖该功能并渲染我的矩形按钮。





问候,

Hsakarp。
Thanks Tadit Dash.I am sorry if i have confused you. My problem is like by default all the buttons and textboxes are rendered in IOS Style. Say currently my buttons are in Clean Rectangele with dark blue in it.when i render that page in IPad i am getting button with curved edge just like other buttons in ipad.Is there any way i can force the buttons to overide that functionality and render my rectangle shaped buttons.


Regards,
Hsakarp.


这篇关于Ipad按钮渲染样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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