输入类型=“图像” (提交按钮)适用于移动设备

发布于 2024-10-20 02:38:26 字数 144 浏览 2 评论 0原文

我不是移动网页设计专家,我尝试在互联网上查找相关内容。 我发现的唯一一件事是,如果我使用图像按钮并不总是会在手机上可视化。我没有手机可以直接测试来验证真实情况。

我想知道当输入类型=“图像”按钮不可见时,会发生什么情况和情况。

谢谢您的回答!

I am not an expert of mobile web design, and I tried to look on internet about it.
The only things that I found out that if I use an image button not always would be visualised on mobiles. I do not have mobiles where I can make direct tests to verify the real situation.

I wanted to know what are the cases and situation when an input type="image" button it is not visualised.

Thank you for your answers!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

路还长,别太狂 2024-10-27 02:38:26

input type="image" 在移动设备上可以安全使用。

我在几个移动网站上使用过它,没有发现任何重大问题。某些手机​​可能会更改按钮的显示方式(如果我没记错的话,诺基亚 S60 浏览器将添加比图像大的灰色背景)。

示例:诺基亚 S60 浏览器

input type="image" is safe to use on mobile devices.

I've used it on several mobile website and haven't seen any major problems. Some handsets might change the presentation of the button (Nokia S60 browser will add a gray background that's larger than the image if I remember correctly).

Example: Nokia S60 browser

套路撩心 2024-10-27 02:38:26

我做过有限的移动应用程序开发,但过去我在黑莓设备上的图像按钮方面遇到了麻烦。您可以下载各种模拟器来测试您的应用程序并以在设备上查看的方式查看它。这对我很有帮助。

BlackBerry Emulators

有一个 Android 模拟器作为android sdk 可以在此处找到。

其 sdk 中也有一个 iphone 模拟器,但注册需要花一些钱。可以在此处找到。

I have done limited mobile application development, but in the past I had trouble with image buttons on BlackBerry devices. You can download various emulators to test your application with and view it as it would be viewed on the device. This was very helpful for me.

BlackBerry Emulators

There is an android emulator as part of the android sdk which can be found here.

There is an iphone emulator as part of its sdk as well, but it will cost you some money to register. That can be found here.

一指流沙 2024-10-27 02:38:26

您可以打赌,6.0 之前的任何 Blackberry 都不会显示 type="image" 或会给您带来意想不到的结果。 BB 6.0 使用 webkit 作为浏览器引擎,因此它能够跟上 Android 和 iPhone 的步伐。

You can bet that on any Blackberry prior to 6.0 won't display type="image" or will give you unexpected results. BB 6.0 uses webkit as it's browser engine so it's able to keep up with Android and iPhone.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文