Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/287.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 绝对PNG图像赢得';t链接_Php_Click_Absolute - Fatal编程技术网

Php 绝对PNG图像赢得';t链接

Php 绝对PNG图像赢得';t链接,php,click,absolute,Php,Click,Absolute,所以我正在努力改变这个网站。其中一个网站的正面有一个透明的美国标志的png文件。我必须添加一个小的awfs标志横幅到它,并让观众能够点击它,以便它可以导致一个不同的网站。我将锚定标签添加到这些项目中,但当您单击它时,什么也没有发生。这是图像的索引文件和外部文件 顺便说一句,我没有建立这个网站。我现在正在帮助维护它 索引: <?php include('inc/default.php'); $pageTitle = "The Nations Source For Industrial Du

所以我正在努力改变这个网站。其中一个网站的正面有一个透明的美国标志的png文件。我必须添加一个小的awfs标志横幅到它,并让观众能够点击它,以便它可以导致一个不同的网站。我将锚定标签添加到这些项目中,但当您单击它时,什么也没有发生。这是图像的索引文件和外部文件

顺便说一句,我没有建立这个网站。我现在正在帮助维护它

索引:

<?php include('inc/default.php');

$pageTitle = "The Nations Source For Industrial Ducting, Ducts and Ductwork Components - KB Duct";
$pageDisc = "KB Duct is the Nation's source for industrial duct, ducting components and ductwork fittings and supplies. We offer custom built solutions for your industrial needs.";
$pageKeys = "duct, ductwork, ducting, duct work, commercial ducting, industrial ducting, custom ductwork, ductwork supplies, ducting accessories, duct fittings";

 ?>

<!doctype html>
<html>
<?php include('inc/head.php'); ?>

<body>



<div id="sb-site">

 <?php include('inc/maximage.php'); ?>      

 <?php include('inc/header.php'); ?>

 <div class="mainarea">

 <a href="http://awfsfair.org/">
    <div id="eBanner" style=" position: absolute; right: 380px; top: 310px;">

<?php /*?> <script type='text/javascript' src='http://libs.a2zinc.net/Common/JS/10.6.0.0/a2zWidget.js'></script><script type='text/javascript' id='exWidget'>new a2z.Widget('dGbJ%2fQfPqUA4s%2fDNrIc%2fzt5xiq%2fL4ZoFjVXmdUEcJutOcD9ggxZSCZyU8MZ6cQu6',40297,'http://libs.a2zinc.net/Common/Widgets/ExhibitorBadge.aspx',31,201133,330,200).render();</script>
<?php */?>



</a>

 </div>


    <div class="wrapper">

        <?php include('inc/industry.php'); ?>
        <?php include('inc/catatypes.php'); ?>

    <div id="mob-only">
      <?php include('inc/mobslideup.php'); ?>
    </div>

    </div>


 </div>

 <?php include('inc/footer.php'); ?>

</div>

<?php include('inc/mob-menu.php'); ?>

</body>
</html>
幻灯片内容中的CSS:

.in-slide-content { 
    color:#333;
    float:right;
    font-family:'Helvetica Neue', helvetica;
    font-size:60px;
    font-weight:bold;
    right:20px;
    margin:40px;
    padding:20px;
    position:absolute;
    top:20px;
    width:700px;
    z-index:9999; /* Show above .gradient */
    text-shadow: 0 1px 0 #fff;
    -webkit-font-smoothing:antialiased;
}

我做了一些研发,得到了一些东西。这对你有帮助吗 有一个id
eBanner
将内联样式更改为

position: absolute;
  right: 269px;
  top: 141px;
  z-index: 9999;
  height: 100px;
  width: 185px;
  border: 2px solid red;
在这个div里面有和锚定标记add,下面是样式

  display: block;
  width: 181px;
  height: 100px;

一旦你检查它的工作,然后你可以删除红色边框

我在那里没有看到任何链接到绝对URL的PNG。文件夹结构是什么?与PHP文件相关的图像存储在哪里?html中有很多错误。您已将绝对定位与父级相对位置一起使用。你能把你正在谈论的logo的图像放进去吗?所有的图像都存储在img文件夹中。下面是文件结构的屏幕截图。KB文件结构-徽标可以在KBduct网站上找到,但她只是一个屏幕截图-->我将为该徽标的“幻灯片内容”类发布css。@ManishShukla发布了照片非常感谢!这工作做得很好!你是个救生员!
position: absolute;
  right: 269px;
  top: 141px;
  z-index: 9999;
  height: 100px;
  width: 185px;
  border: 2px solid red;
  display: block;
  width: 181px;
  height: 100px;