You’d think I’d be having problems with IE, but I’m not… For some reason this is a problem in Firefox. You heard me right, Firefox. So anyway, Here’s the problem code:
[code=html]
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html>
<head>
<title>Testing Page</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<meta name=”author” content=”AmazingAnt — AmazingAnt.***.***” />
<meta name=”generator” content=”Notepad 2 — http://www.flos-freeware.ch/notepad2.html ” />
<link rel=”stylesheet” type=”text/css” href=”stylesheet.css” />
</head>
<body>
<div class=”Left_Links”>
<a href=”?lf=Main%20Page” title=”Main Page”><img src=”Graphics/linkimages.php?text=Main Page&center=60″ alt=”Main Page” style=”border: none; height: 29px; width: 211px;” /><br /></a>
<a href=”?lf=News” title=”News”><img src=”Graphics/linkimages.php?text=News&center=80″ alt=”News” style=”border: none; height: 29px; width: 211px;” /><br /></a>
<a href=”?lf=Contact” title=”Contact”><img src=”Graphics/linkimages.php?text=Contact&center=67″ alt=”Contact” style=”border: none; height: 29px; width: 211px;” /><br /></a>
<a href=”?lf=Other” title=”Other”><img src=”Graphics/linkimages.php?text=Other&center=70″ alt=”Other” style=”border: none; height: 29px; width: 211px;” /><br /></a>
</div>
<div class=”content”>I hope you realize there’s no content yet.<br />I <span style=”font-size: 15pt; font-style: italic; text-transform: uppercase;”>dare</span> you to click News again!</div>
<div class=”Footer_Links”>
| <a href=”#” onclick=”alert(‘Link1 is a dud.nThat means that this link does nothing.’);” title=”Null Link”>Link1</a> |
| <a href=”#” onclick=”alert(‘Link2 is a dud.nThat means that this link does nothing.’);” title=”Null Link”>Link2</a> |
| <a href=”#” onclick=”alert(‘Link3 is a dud.nThat means that this link does nothing.’);” title=”Null Link”>Link3</a> |
| <a href=”#” onclick=”alert(‘Link4 is a dud.nThat means that this link does nothing.’);” title=”Null Link”>Link4</a> |
| <a href=”#” onclick=”alert(‘Link5 is a dud.nThat means that this link does nothing.’);” title=”Null Link”>Link5</a> |
| <a href=”#” onclick=”alert(‘Link6 is a dud.nThat means that this link does nothing.’);” title=”Null Link”>Link6</a> |
</div>
</body>
</html>
From this, you might have noticed that some of the links don’t work. The problem part is the links for the “Main Page”, “News”, “Contact”, and “Other”. For some reason, it won’t let me click on “Contact”, but the other three are fine. When I take the last one out, then the contact button works again, but the News button dies!
GAHHH!!!!
Just so everyone knows, that part of the code has NO OUTSIDE CSS, the page is written in XHTML 1.0 Strict, and in case you hadn’t guessed by where it says “I DARE you to click News again!”, the page has been generated by a server-side script, specifically PHP.
Any ideas? Pleasy cheesy?
Edit: Forgot to remove my server’s address from the Meta tag for author…:eek: