Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 1, 2026.

Logo won't click (Header link doesn't work) PHP

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

Gorillaz

Established Member
Impact
1
Hello, I am trying to get the header/logo on hostbright.net to lead you back to the home page but for some god awful reason I cant get it to work. Any suggestions?

<style type="text/css">
<!--
.style1 {
color: #FFFFFF;
font-weight: bold;
}
.style4 {color: #000066}
.style10 {color: #000000}
-->
</style>
<body>
<table align="center" border="0" cellspacing="0" cellpadding="0" class="main_borders">
<tr>
<td>
<table width="779" border="0" align="center" cellpadding="0" cellspacing="0" href="http://www.hostbright.net/" class="top_bg"
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="67">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top" align="right">
<td>
<?php include("templates/$templatedir/includes/inc_toplinks.php"); ?> 
</td>

</tr>
<tr valign="bottom" align="right">
<td><p> </p>
<p align="right" class="style1 style4"> <span class="style10">Toll Free: 1-877-2-Host Me</span>   </p></td>
</tr>
</table>

</td>
</tr>
<tr>
<td align="center">
<div class="BG_menu">
<?php include("templates/$templatedir/menu/menu.php"); ?>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
can an actual table have a href?
 
0
•••
I would of assumed so, I didnt write the code.
 
0
•••
i only just woke up but i think you need to place the link in a TD within the table

EDIT: and prob need some JavaScript to turn cursor into hand on mouse over
 
Last edited:
0
•••
Maybe you can put this code somewhere in your table :

PHP:
<a href="http://www.hostbright.net/" style="width:100px;height:100px;"> </a>

Dont forget to adjust the width & height :tu:
 
0
•••
href's are not valid within a table tag. Also that particular table tag has not got a >

Also is this the complete page? There are 4 opening table tags but only 3 closing.
 
0
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back