为什么这些链接在IE中不起作用? [英] Why aren't these links functional in IE?

查看:81
本文介绍了为什么这些链接在IE中不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。


我对网页设计和开发都很陌生,但我们的任务是为一个新的企业创建一个可通行的网站。我手工完成了整件事,这可能有点蛮干。结果是一个网站在我正在使用的系统上看起来没问题,但是具有较低的分辨率和有罪的IE非常具有气质。


有一个页面 - http://buddingpress.co.uk/publish - 有一些彩色横幅。我已经编写了一个小小的黑客,它在鼠标悬停时突出显示它们,它们每个都链接到另一个页面。问题是他们在IE上根本不工作。我明白,在不考虑标准的情况下创建一些编码可能是我自己的错。我应该如何修复这个?


这里是页​​面上的HTML:

Hi guys.

I''m completely new to web design and development, but have been tasked with creating a passable website for a new venture. I''ve done the whole thing by hand, which might have been a bit foolhardy. The result is a website that looks okay on the system I''m using, but is pretty temperamental with lower resolutions and the sinful IE.

There''s a page - http://buddingpress.co.uk/publish - which has some coloured banners. I''ve coded up a little hack that highlights them on mouseover, and they each link out to another page. Issue is that they don''t work at all on IE. I understand that it was probably my own fault to create some coding without thinking about standards. How should I repair this?

Here''s the on-page HTML:

展开 | 选择 | 换行 | 行号

推荐答案

@seegoon


IE和标准! :)


无论如何,我检查过它在IE8中工作但在IE6和IE7中没有。有一个很好的小工具来检查这样的事情。它叫做 IE测试员


至于你的问题,你有这个结构:
@seegoon
IE and standards !? :)

Anyhow, I checked and it works in IE8 but not in IE6 and IE7. There is nice little tool for checking things like this. Its called IE tester.

As for your problem at them moment you have this structure:
< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号


最后的解决方案似乎完美无缺,谢谢你。现在看来很明显!我是否能够设计< a>样式?标签? < div>使用background-image来获得所需的效果。无论你如何看待它,我都完全把它放在一起,所以它的工作是一个奇迹!


关于弹出窗口定位的任何想法?不是说你今天还没有救我的屁股。


谢谢。
The final solution seems to have worked perfectly, thanks for that. It seems obvious now! Would I have been able to style the <a> tags? The <div>s use background-image to get the desired effect. No matter how you look at it, I completely bodged it together so it working at all is a miracle!

Any ideas about the positioning of the pop-up? Not that you haven''t already saved my ass today.

Thanks.


我回到你的网站再次查看弹出问题似乎你把它整理出来了:)
I went back to your site to check that popup issue again and it seems you sorted it out :)


这篇关于为什么这些链接在IE中不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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