Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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