View Full Version : image link to homepage not working
jasont
05-31-2012, 05:44 PM
Hi,
My image link to homepage in the top left corner of this page (http://www.jttestwebsite.co.uk/healthtracker/index.php) is broken. Can anyone tell me why and how to fix it?
my broken code:
<a href="/healthtracker/index.php">
<img src="img/htlogo.png" width="150" height="100" />
</a>
Thanks.
coothead
06-01-2012, 07:55 AM
Hi there jasont,
the cause of your problem is the negative "z-index" value here...
#page {
position: relative;
background-color: #FFFFFF;
margin-left: auto;
margin-right: auto;
width: 960px;
font-family: sans-serif;
z-index: -2;
}
Set it to zero or remove it altogether. ;)
To get your page to validate you should add alt="" to the img attributes, and remove this...
/***********************************************
* Gooey Menu Script (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
...from between the "script" tags.
Though, to be legally correct it must be placed within the gooeymenu.js file itself. :)
coothead
jasont
06-02-2012, 08:08 AM
A very big thank you ! Works like a charm ! :)
Regards,
JT.
coothead
06-02-2012, 09:47 AM
No problem, you're very welcome. ;)
coothead
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.