Weird Spacing

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Weird Spacing

Post by toasty2 »

I'm having a strange spacing issue:
Image
I don't know why that space is there.

HTML:

Code: Select all

<!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">
<head>
	<title>Admin </title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

<a href="edit.php?a=new">Create New</a><br />
<table border="1" cellspacing="0">
<tr><td>Article Name</td><td>Last Modified</td><td>Created</td><td>e</td><td>x</td></tr>

<tr><td>example</td><td>Jul 20, 2007 08:06 PM</td><td>Jul 20, 2007 07:45 PM</td><td><a href="edit.php?a=edit&sa=example">Edit</a></td><td>x</td></tr><br />
<tr><td>index</td><td>Jul 20, 2007 08:06 PM</td><td>Jul 20, 2007 07:45 PM</td><td><a href="edit.php?a=edit&sa=index">Edit</a></td><td>x</td></tr><br />
<tr><td>links</td><td>Jul 22, 2007 09:24 AM</td><td>Jul 20, 2007 07:45 PM</td><td><a href="edit.php?a=edit&sa=links">Edit</a></td><td>x</td></tr><br />

<tr><td>menu</td><td>Aug 02, 2007 09:46 PM</td><td>Jul 20, 2007 07:45 PM</td><td><a href="edit.php?a=edit&sa=menu">Edit</a></td><td>x</td></tr><br />
<tr><td>test2</td><td>Aug 14, 2007 09:18 AM</td><td>Aug 14, 2007 09:16 AM</td><td><a href="edit.php?a=edit&sa=test2">Edit</a></td><td>x</td></tr><br />
</table><br /><a href="edit.php?a=new">Create New</a><br />

</body>
</html>
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Post by VladSun »

Because of the <br>s after each </tr>
There are 10 types of people in this world, those who understand binary and those who don't
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Post by toasty2 »

Gah! Thank you for noticing that. :)
Post Reply