Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
I got some white space
Old 07-29-2009, 02:46 PM I got some white space
Junior Talker

Posts: 3
Name: ashiqur rahman
Trades: 0
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>









----------------------------
esbians sex FullTilt rake back
ashiq02 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-29-2009, 03:28 PM Re: I got some white space
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
I'm missing a lot from the code to see this in action... can you upload it somewhere?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 07-29-2009, 05:56 PM Re: I got some white space
treyk4's Avatar
Skilled Talker

Posts: 89
Name: Trey
Trades: 0
Three things:
  1. As orionoreo said, if you had a real, working example of this would be much easier to diagnose and fix.
  2. Sanitize your user input. Never trust what a user may put in. See http://xkcd.com/327/ and http://www.sitepoint.com/article/php-security-blunders/
  3. For goodness sake, a porno link in your signature??
__________________
Decatur-Austin Robotics Coalition (DARC) -
Please login or register to view this content. Registration is FREE

treyk4 is offline
Reply With Quote
View Public Profile
 
Old 07-29-2009, 06:00 PM Re: I got some white space
Banned

Posts: 315
Name: Doug
Trades: 1
You really don't need the paragrpah tag on that first include.

<p align="center"><? include("includes/header.php"); ?></p>

What is in header.php that you are trying to use paragraph to center it.

Post the URL so we can see this live.
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 07-29-2009, 06:04 PM Re: I got some white space
Banned

Posts: 315
Name: Doug
Trades: 1
I must be getting old. I missed the porno link in his signature.
marketingman100 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to I got some white space
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.00436 seconds with 12 queries