PDA

View Full Version : Netscape and Php


kjc
09-04-2002, 06:58 PM
I have created a site in php which works fine in IE, but in opera and netscape it falls over and the links do not work.

The page setup is that each page has a header file that is included at the top using require("header.php"). The rest of the content of the page is then displayed.

The image links will not work though that are in the header part of an html page. The mouseover will not appear and it is as though the links are not there. Yet in Explorerit does not have this problem.

Someone help me - I am going insane :(

mordred
09-04-2002, 07:06 PM
...code?

It's most certainly not a PHP problem, since PHP is processed on the server. More likely may an error in your rollover code, but who am I to guess...

whackaxe
09-04-2002, 07:24 PM
there is a reason why PHP is called a server-side language :p

kjc
09-04-2002, 07:28 PM
Ok. I was showing my ignorance there...

Here is the header code

<HTML>
<HEAD>
<TITLE>Welcome to the store</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 link="#0066FF" vlink="#FF0000" alink="#0066FF">
<!-- ImageReady Slices (home page.psd) -->
<TABLE WIDTH=700 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width="37"> <IMG SRC="/images/spacer.gif" WIDTH=37 HEIGHT=1 ALT=""></TD>
<TD width="165"> <IMG SRC="/images/spacer.gif" WIDTH=165 HEIGHT=1 ALT=""></TD>
<TD width="129"> <IMG SRC="/images/spacer.gif" WIDTH=129 HEIGHT=1 ALT=""></TD>
<TD width="24"> <IMG SRC="/images/spacer.gif" WIDTH=24 HEIGHT=1 ALT=""></TD>
<TD width="84"> <IMG SRC="/images/spacer.gif" WIDTH=84 HEIGHT=1 ALT=""></TD>
<TD width="127"> <IMG SRC="/images/spacer.gif" WIDTH=127 HEIGHT=1 ALT=""></TD>
<TD width="104"> <IMG SRC="/images/spacer.gif" WIDTH=78 HEIGHT=1 ALT=""></TD>
<TD width="56"> <IMG SRC="/images/spacer.gif" WIDTH=56 HEIGHT=1 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3> <a href="/index.php"><IMG SRC="/images/index2_02.jpg" WIDTH=331 HEIGHT=41 ALT="Back to home" border="0" name="ABCLogo"></a></TD>
<TD COLSPAN=3>
<p align="center"><font size="2" face="Arial, Helvetica, sans-serif"><b><a href="/basket.php">View
Basket</a></b></font></p>
</TD>
<TD width="104">
<div align="right"><a href="/view_order.php"><font size="2" face="Arial, Helvetica, sans-serif"><b>Track
Order</b></font></a></div>
</TD>
<TD width="56">&nbsp;</TD>
</TR>
<TR>
<TD COLSPAN=2> <IMG SRC="/images/index2_04.jpg" WIDTH=202 HEIGHT=81 ALT=""></TD>
<TD COLSPAN=3> <IMG SRC="/images/index2_05.jpg" WIDTH=237 HEIGHT=81 ALT=""></TD>
<TD COLSPAN=3> <IMG SRC="/images/index2_06.jpg" WIDTH=261 HEIGHT=81 ALT=""></TD>
</TR>
</TABLE>
<table width="700" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="346" bgcolor="#6699CC" rowspan="2"><img src="/images/index2_07.jpg" width="355" height="29"></td>
<td width="297" bgcolor="5593D3" height="8">
<div align="right">
<FORM NAME="search" ACTION="results.php" METHOD="post">

<input name="searchterm" size="35" type="text" value="Enter Book Title or Author">
</div>
</td>
<td width="57" rowspan="2">
<div align="right"><INPUT TYPE=image src="/images/index2_09.jpg" width="56" height="29" value="go" name="go"></div>
</td></Form>
</tr>
<tr>
<td width="297"><img src="/images/index2_10.jpg" width="289" height="5"></td>
</tr>
</table>
<table width="700" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="/images/index2_11.jpg" width="202" height="21" usemap="index.php#Map" border="0"><img src="/images/index2_12_12.jpg" width="153" height="21" usemap="index.php#Map2" border="0"><img src="/images/index2_13.jpg" width="211" height="21" usemap="index.php#Map3" border="0"><img src="/images/index2_14.jpg" width="134" height="21" usemap="index.php#Map4" border="0"></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="90,3,135,19" href="/new.php">
<area shape="rect" coords="149,2,202,18" href="/browse_category.php?Category_Name=Kids">
</map>
<map name="Map2">
<area shape="rect" coords="15,3,79,18" href="/browse_category.php?Category_Name=Science">
<area shape="rect" coords="96,3,164,15" href="/browse_category.php?Category_Name=Fiction">
</map>
<map name="Map3">
<area shape="rect" coords="41,3,103,17" href="/browse_category.php?Category_Name=Sport">
<area shape="rect" coords="134,1,205,16" href="/browse_category.php?Category_Name=History">
</map>
<map name="Map4">
<area shape="rect" coords="22,3,118,15" href="/browse_category.php?Category_Name=Biography">
</map>
</BODY>
</HTML>


All help greatly apprecieated:confused: