Jump to content

[SOLVED] Link Troubles


flowingwindrider

Recommended Posts

I have a page that displays information grouped into tables and arranged with div tags. The problem is, for some reason most of the links on the page show up as links but aren't clickable. It's like they aren't there at all. That's the Firefox problem. In IE6 the links work fine, but the last echo command doesn't write to the browser at all. Would someone mind looking at the code and seeing if they know why this is happening? If you want to see the page in action it is located at bransonentertainersguild.com/Members/classifieds.php

 

The code for the page is:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Classifieds Categories</title>
<style type="text/css">
a{
color: #0000ff;
}
.b1{
position: relative;
top: 2px;
left: 2px;
float: left;
width: 5%;
font-size: 22pt;
}
.b2{
float: left;
width: 43%;
}
.t1{
font-family: Poor Richard;
font-size: 14pt;
}
.t2{
font-family: Verdana;
font-size: 8pt;
}
.t3, .t4{
position: relative;
font-family: Poor Richard;
font-size: x-large;
text-align: center;
}
.t3{
top: 8px;
}
.t4{
top: 30px;
}
.t5{
font-size: 12pt;
font-style: italic;
}
</style>
</head>

<body style="background-color: #0ACCF5; background-image: url('../images/InsetBackground.jpg')">
<?php

$db = "bransone_classifieds";
include("connect.php");
$query_count = "SELECT COUNT(Ad_Id) AS Total FROM employment";
$result_count = mysql_query($query_count) or die ("Error in query" . mysql_error());
$fetch_result  = mysql_fetch_assoc($result_count) or die ("Error in query" . mysql_error());
$totalrows = $fetch_result['Total'];
$img = "\"../images/folder.gif\" width=\"17\" height=\"14\"";

mysql_close($dbh);

echo("<div class=\"t3\">Classified Ad Categories</div>");
echo("<br />");
echo("<div class=\"b1\"><table>
<tr><td><img src=".$img." /><br><br></td></tr>
    <tr><td><img src=".$img." /><br><br></td></tr>
    <tr><td><img src=".$img." /><br><br></td></tr>
    <tr><td><img src=".$img." /><br><br></td></tr>
<tr><td><img src=".$img." /></td></tr>
    </table></div>

<div class=\"b2\"><table>
<tr><td><span class=\"t1\"><a href=\"classifieds/automobiles/automobiles.htm\" title=\"Click to see Automobile Listings\">Automobiles</a><br></span>
	<span class=\"t2\">Cars, trucks, vans, sport utilities<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/employment/employment_listings.php\" title=\"Click to see Employment Oppertunities\">Employment</a></span><span class=\"t5\"> (".$totalrows.")</span><br>
	<span class=\"t2\">Non-Performance or Tech Opportunities<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/general/general_merchandise.htm\" title=\"Click to see General Merchandise Listings\">General Merchandise</a></span><br>
	<span class=\"t2\">Appliances, electronics, books, music, video games, etc.<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/pets/pets_and_supplies.htm\" title=\"Click to see Pet Listings\">Pets & Supplies</a></span><br>
	<span class=\"t2\">Pets, animals, supplies<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/rentals/rentals_and_roomates.htm\" title=\"Click to see Rental Listings\">Rentals & Roommates</a></span><br>
	<span class=\"t2\">Apartments, condo rentals, roommates, seasonal housing</span></td></tr>
</table></div>

<div class=\"b1\"><table>
<tr><td><img src=".$img." /><br><br></td></tr>
    <tr><td><img src=".$img." /><br><br></td></tr>
    <tr><td><img src=".$img." /><br><br></td></tr>
    <tr><td><img src=".$img." /><br><br></td></tr>
<tr><td><img src=".$img." /></td></tr>
    </table></div>

<div class=\"b2\"><table>
<tr><td><span class=\"t1\"><a href=\"classifieds/computers/computers_and_software.htm\" title=\"Click to see Technology Listings\">Computers & Software</a></span><br>
	<span class=\"t2\">Desktops, laptops, accessories, software<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/furniture/furniture.htm\" title=\"Click to see Furniture Listings\">Furniture</a></span><br>
	<span class=\"t2\">Sofas, tables, beds, etc.<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/music/music_and_musical_equipment.htm\" title=\"Click to see Music Listings\">Musical & Musical Equipment</a></span><br>
	<span class=\"t2\">Sheet music, instruments, sound equipment, etc.<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/real estate/real_estate.htm\" title=\"Click to see Real Estate Listings\">Real Estate</a></span><br>
	<span class=\"t2\">Homes, condos, properties<br><br></span></td></tr>
<tr><td><span class=\"t1\"><a href=\"classifieds/theatrical/theatrical_equipment.htm\" title=\"Click to see Theatrical Equipment Listings\">Theatrical Equipment</a></span><br>
	<span class=\"t2\">Lights, gels, costumes, props, etc.</span></td></tr>
</table></div>");

echo("<div class=\"t4\">Have a Classified Ad to Submit? <a href=\"classifieds/submission.htm\">Click here</a>.</div>");

?>
</body>
</html>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.