Amezis
Jul 23 2005, 09:36 AM
| | Below my header, which includes the logo and a horizontal menu bar, there is an empty space of the size of a linebreak.
I'm completely new to PHP...
My header is an include tag <?php include 'top.htm'; ?>, and where the top.htm site should end, there is a linebreak that I can't remove... Is there a way to remove it?
Also, it happens in my vertical menu too, and below the footer, but it doesn't really affect the design. |
Reply
Amezis
Jul 23 2005, 11:26 AM
ooooops lol how stupid I am... There was a after the include tag...
Reply
rvalkass
Jul 23 2005, 11:30 AM
Make sure that your HTML files have no blank lines at the end of them as these will appear on your page. How are you laying out your site? With DIVs, tables??
Reply
BuffaloHELP
Jul 23 2005, 12:21 PM
QUOTE(Amezis @ Jul 23 2005, 07:26 AM) There was a after the include tag Topic resolved, thread closed.
Reply
Similar Topics
Keywords : spacer header- [php] Header Function
- (2)
- Header Redirect Errors
- (5)
Hi, I am using the header function to redirect after the processing of the form. I have to specify
a internal link using '#link'. This works in Firefox and opera. But in Internet Explorer
internal linking when done from a redirect is not working for somewhat reasons. e.g.
header("Location: http://www.example.com/index.php#link"); this works in Firefox and Opera but
not in Internet Explorer . IE just accepts 'http://www.example.com/index.php' instead of
http://www.example.com/index.php#link Please help me if you know anything about this. Well ther...
Email Header Inject Test
- (0)
So I'm trying to write a script to check if someone is trying to do a header inject using my web
based email form. The problem is that, regardless of the content, it is being tagged as hijacked.
The following is the relevant part of my code: CODE $ip=$_POST['ip'];
$httpref=$_POST['httpref'];
$httpagent=$_POST['httpagent'];
$visitor=$_POST['visitor'];
$visitormail=$_POST['visitormail']; $s...
Php Header Problem
- i always got header problem (9)
i really hate the header function it always get an error saying ( cannot ------- headers already
sent by----- ) and here's my error: Warning: session_start(): Cannot send session cookie -
headers already sent by (output started at /home/adly3000/public_html/Mail/index.php:5) in
/home/adly3000/public_html/Mail/index.php on line 81 Warning: session_start(): Cannot send session
cache limiter - headers already sent (output started at /home/adly3000/public_html/Mail/index.php:5)
in /home/adly3000/public_html/Mail/index.php on line 81 Warning: Cannot modify header ...
php header() function help needed
- automatic re-direct (4)
hey ppl, u seem to have real gud knowledge about php, i just wanted a little help...i designed this
website, but i want that if i click on certain page, it should open for some few seconds and then
browser should automatically redirect me to some other page....i tried this with header() function
but i couldnt do the wait n redirect part, ... so somebody plz help.... -thanx in advance!...
Need Help With The Header() Function
- I am redirecting from my old site (2)
Over a month ago, I bought a domain name for my site, but my site is still not indexed. I did
everything needed to get indexed, but I forgot one thing: The old site had exactly the same content
as the new one. So I had duplicate content. Therefore, I want my old site to redirect the user to
the new site with this script: CODE <?php header("Location:
http://www.global-rs.com" . $_SERVER['REQUEST_URI']); exit; ?>
global-rs.com is my new URL. However, on my old site, which I will be placing this code on, there
i...
Question On Header() Function
- (3)
Hello I have a question regarding the header(location:http:// etc) function. I have a php document
that looks similar to the followiing //now some code specific to this page only if blah blah {
do some stuff } else { header("location : http://some_page.php"); } include ("./bottom.php");
//this file contains loads of html and is resident on all pages in the site IT HAS TO BE HERE -----
my question is this, how can i redirect to a new page using the header() function in the middle of
a file like this ie when i have already passed a load of html and other stuf...
header()
- redirection (1)
CODE <?php if($_REQUEST['name']==NULL) {
header("Location:?name=Guest"); } else { ?> <html> <head>
<title>Welcome</title> </head> <body bgcolor=black> <?php
echo "<font color=gray><b>Hello, "; echo
$_REQUEST['name']."</b><p>"; ?><pre>
<?php for($i=0;$i<10;$i++) {
for($j=0;$j<10;$j++...
Looking for spacer, header, s
|
|
Searching Video's for spacer, header, s
|
advertisement
|
|