Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

there is a gap between my header and the rest of the page

Posted on 2003-12-05
2
Medium Priority
?
216 Views
Last Modified: 2008-03-06
http://advancedwebpresence.com/php/index.php

how do I remove this?  

index.php

HEAD>
<TITLE> My First Php page </TITLE>
<LINK rel="stylesheet" type="text/css" href="style.css">
</HEAD>

<BODY topmargin="0" leftmargin="0">
<?php
include('head.html');
?>
<!-- Table for Main Body -->
<div align="center">
  <center>
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td valign=top align=left width="90">
<?php
include ('menu2.html');
?>
</td>
<td width="1" bgcolor="blue" valign=top>  </td>
<td valign=top>

<?php
include ('page1body.html');
?>
<br> <br>

</td>
<td width="1" bgcolor="blue" valign=top>   </td>
</tr></table>
  </center>
</div>
<?php
include ('page_footer.php');
?>
</BODY></HTML>



menu2.html


<body topmargin="0" vlink="#0000FF" alink="#0000FF">

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="73" id="AutoNumber1">
  <tr>
    <td width="73" style="font-size: 10px; font-family: Verdana">
    <p style="margin-top: 0; margin-bottom: 0"><font size="2" face="Verdana">
    <a href="index.php">Home</a><br>
    <a href="product.php">Products</a><br>
    <a href="service.php">Services</a><br>
    <a href="about.php">About</a></font></p>
    <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana" size="2">
    <a href="contact.php">Contact</a></font></p>
    <p>&nbsp;</td>
  </tr>
</table>


page1body.html

<html>

<head>

<title>This is the main body</title>
</head>

<body>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%" id="AutoNumber1" height="80%">
  <tr>
    <td width="50%"><u><b><font face="Verdana" size="2">Experience the
    Difference</font></b></u></td>
    <td width="50%">&nbsp;</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">
    <div style="MARGIN-TOP: 10px; MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px" align="justify">
      <font face="Arial" color="#000000" size="2"><font face="Verdana">AWP
      Sites.com&nbsp;has fused together success from website design, layout, hosting,
      ecommerce and search engine placement to bring you the best experience
      offered today. </font>
      <p><font face="Verdana"><strong>The Experience.</strong> At Advanced Web
      Presence we combine Web Design strategy, affordable pricing and marketing
      to provide you with the most successful experience with the least effort.
      </font></p>
      <p><font face="Verdana"><strong>Velocity.</strong> Our most popular and
      affordable package allows you to to have a professional site completed
      within just days. Until just recently a website would take weeks to
      prepare.&nbsp; With our new system, you can select a predefined model for your
      business today.&nbsp; You provide the information, and we provide the finished
      product.&nbsp; </font></font>
    </div>
    </td>
  </tr>
</table>

</body>

0
Comment
Question by:AWP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 6

Accepted Solution

by:
rjdown earned 1400 total points
ID: 9886460
Remove all the <html> <head> <body> and <title> tags from your include files and see if that changes anything.
0
 
LVL 6

Expert Comment

by:rjdown
ID: 9886488
Um...well do that anyway, but in head.html, also remove the <p>&nbsp;</p>
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question