Jump to content

I got some white space...


russia5

Recommended Posts

Hello, I have a lot of white space that I do not want and I need to get rid of it.  My Top header .gif does not fit squarely on my left Nav .gif  So, I have about a 1/4" white space between the two.  Here is my code that includes both the top header and the right nav.  I have clearly commented the Top nav and the right nav.  I believe that the paragraph tags on the top nav may be causing the problem in that when it returns, the two .gifs don't match up, but I don't know how to fix it if that is the problem.  Hope somebody can help me.  Thanks...

<body topmargin="0" leftmargin="0" rightmargin="0" link="#FF6633">

//Here are the paragraph tags
<p align="center"><? include("includes/header.php"); ?></p>

<table width="765" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td valign="top">  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td align="center">
<?php
if (empty($_GET['action']))
{
if (empty($_REQUEST['id']))
include('file1.php');
else
include('file2.php');
}
else
{
switch ($_GET['action']) {
case 'subscribe':
$query = 'INSERT INTO Profile_mailinglist (email, code, status) VALUES ("'.$_POST['subemail'].'", "1200", "1")';
mysql_query($query);
echo 'Your email address '.$_POST['subemail'].' is subscribed successfully';
break;
case 'unsubscribe':
$query = 'UPDATE Profile_mailinglist SET status = "0" WHERE email = "'.$_POST['subemail'].'"';
mysql_query($query);
echo 'Your email address '.$_POST['subemail'].' is unsubscribed successfully';
break;
}
}

?>
          </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
</tr>
</table></td>
<td bgcolor="FF6600" valign="top">

//Here is the right nav
<? include("includes/rightmenuhome.php") ?>


<table cellpadding="0" cellspacing="0" border="0"  bgcolor="FF6600">
<tr>
<td height="200" bgcolor="FF6600">
</td>
Link to comment
https://forums.phpfreaks.com/topic/15338-i-got-some-white-space/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.