Home  >  Article  >  Web Front-end  >  实现a连接拨号功能。_html/css_WEB-ITnose

实现a连接拨号功能。_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:22:421260browse

<div><a href="tel://手机号码">拨号</a></div>


我想实现点击a链接外面的div就可以拨号。但是每次只能点a连接"拨号"才能拨。求指教。!!!


回复讨论(解决方案)

a的宽度和高度调大点

a的宽度和高度调大点


好像不行额

拨号

拨号

你试过可以吗?不行吧!


拨号

你试过可以吗?不行吧!
OK了。加个z-index和position把a链接显示在最外层就可以了
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn