Href 链接不会在移动尺寸的屏幕上发生/工作 [英] Href links do not transpire/work at mobile size screen

查看:34
本文介绍了Href 链接不会在移动尺寸的屏幕上发生/工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的 yii 网站上采用了响应式设计.但是当我添加到设计页面的链接时,此链接的内容确实会以常规屏幕尺寸显示,而在我模拟移动尺寸时却没有显示.它们都不适用于我的 4" android.我在 FF 和 IE10 中尝试了不同的尺寸.在 FF 31.0 中,我尝试降低到 768x1024 精度 - 工作,更少(539x544) - 不是.您可以自己尝试的那些链接:怎么了?

解决方案

您的链接不起作用,因为那里有两个带有类别的元素.

只有在大分辨率下才能看到.

<div class="tar_category_vis tar_panel tar_open">...</div>

以及其他仅在小分辨率下可见.

...

小的没有分配网址.

I put on responsive design on my yii site. But as i add a link to the design page, this link's content does transpire in regular screen size, while it is missed when i emulate mobile size. Neither they work at my 4" android. I try in FF and IE10 for different sizes. In FF 31.0 i tried down to 768x1024 precision - working, with less (539x544) - not. Those links you may try yourself: What's wrong?

解决方案

Your links doesn't work because there are two elements with categories there.

One which is VISIBLE ONLY with large resolutions.

<div class="tar_category_vis tar_panel tar_open">...</div>

And OTHER which is VISIBLE ONLY to small resolutions.

<div class="tar_category">...</div>

The small one doesn't have URLs assigned.

这篇关于Href 链接不会在移动尺寸的屏幕上发生/工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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