Mobile Safari iPhone 开发 - 连续多个按钮
我是一名 iPhone 开发人员,但对 Web 开发还是个新手。我已经制作了一些基本的 HTML 网站,并且也在 iWeb 中制作了一个。我现在正尝试涉足移动 Web 开发,所以我查看了 Dashcode。
不管怎样,我试图将呼叫按钮、邮件按钮和地图按钮水平对齐。我意识到我可以添加一个列布局并在一行中放置两个按钮,但这是我得到的最多的。
有什么想法吗?谢谢!
托马斯
编辑:我还没有弄清楚这一点。我得到了关于固定位置按钮栏的建议,但我不确定如何实现它。我一直在看代码,但还没有得到它。不过仍在尝试。任何帮助表示赞赏!
I'm an iPhone developer, but new to web development. I've done some basic HTML websites and made one in iWeb as well. I'm trying to branch out to mobile web development now, so I checked out Dashcode.
Anyway, I'm trying to put a Call Button, Mail Button, and Map Button in horizontal alignment. I realize that I can add a Column Layout and have two buttons in a row, but that's the most I've gotten.
Any ideas? Thanks!
Thomas
Edit: I still haven't figured this out yet. I was given advice about a fixed position button bar, but I am not sure how to implement it. I've been looking at code, but haven't gotten it yet. Still trying though. Any help is appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我通常做的是选择无法水平对齐的元素,然后转到检查器 ->尺寸选项卡并在配置中选择固定绝对值。
这应该可行,但要小心,因为如果您打算动态更改元素的位置,您可能会感到惊讶......
What i do usually is to select the element you can't align horizontally and then go to the inspector -> dimension tab and in disposition you select fixed absolute.
This should work but beware because if you've the intention to change element's place dynamically you may have some surprise...
我认为您正在寻找类似的东西。
创建一个固定位置按钮栏,其中有多个并排的按钮。
/摩根斯
I think you are looking for something like this.
A fixed position button bar is created with several buttons side by side.
/Mogens