I'm having a very unusual problem with all of my webpage links when they are in an echo statement. They seem to run the entire length of the page. Lets say I have the word "widget.jpg" and it's a link to an image. the link "widget.jpg" is in the center all by it's self of an 800 px div. I can go all the over to one side of the div and I can click the link even if I'm not directly over the link itself. Anyone know what this could be or even understand what I'm saying.
Here is the statement with the link:
echo '<p>Dirctory Listing:</p><ul>';
while ($file = readdir($dir)) {
echo "<a href='/uploads/$file'>$file</a>";
}