1) I placed a link with an image as the following:
echo "<a href=\"/xx_db/view_module.php?offset=$nextoffset\"><img src=\"/images/right.01.jpg\" width=\"30px\" height=\"20px\"></a>";
When the image is rendered in the browser window (I.E. 6.0) it has a purple border around it. How do I rid the image of that annoying border?
2) I have a login in page on my site. I want to do a timed re-direct after a successful login. How would I do that? What I know so far about re-directs...
header("Location: http://xx/xx/xx.php");
one easy (really easy) and one not so easy...questions
Moderator: General Moderators
border="0" should remove the purple/blue outline (don't thinks is XHTML friendly though)
Code: Select all
// your login processing code
if ($login_successful)
{
sleep(2);
header("Location: http://foo.com/bar/");
exit;
}this one is validated as XHTML 1.0 Strict at http://validator.w3.org (setting Encoding: iso-8859-1)
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>XHTML Test</title>
<meta name="description" content="xhtml border attribute test" />
</head>
<body>
<p>
<a href="/xx_db/view_module.php?offset=1">
<img src="/images/right.01.jpg" alt="right image" style="width:30px; height:20px; border-width:0px" />
</a>
</p>
</body>
</html>