【问题标题】:Href Links not working in FirefoxHref 链接在 Firefox 中不起作用
【发布时间】:2013-05-15 14:52:22
【问题描述】:

请帮忙!我曾尝试使用 Firebug 来查看为什么我的 href 无法点击,但我无法弄清楚。我不使用桌子。该网站是http://spiritfestcorpus.com/

大圆形图片被href包裹

非常感谢任何建议。

如果您在 Firefox 中查看源代码,这是第 357 行的代码

<div id="slideshow_wrapper" )">
            <div id="frame"></div>
            <div id="slideshow_container">
                <div id="slideshow">

                            <a style="z-index:9999999; position: absolute;" id="cdImage1" href="concertsbuy.aspx?eventId=53"><img id="Repeater1_ctl00_cdImage" src="images/slideshow/home/albums/2012/SPIRIT_Fest_Corpus/LMG_DC12Circle.png" style="border-width:0px;" /></a>

【问题讨论】:

  • 如果你删除position: absolute会发生什么?
  • 尝试验证您的 HTML。这个paren不会有帮助:&lt;div id="slideshow_wrapper" )"&gt;
  • 或者那个有趣的小额外引述。

标签: firefox hyperlink cross-browser html


【解决方案1】:

position: absolute必须指定宽度和高度。如果要在a 标签上指定宽度和高度,则需要使用display: block

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-04-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-15
    • 2017-04-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多