Re: Shifting banner on re-display
| From: | Marek Kilimajer | Date: | Sun, 14 Nov 2004 00:42:15 +0000 |
| Subject: | Re: Shifting banner on re-display | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201936@lists.php.net to get a copy of this message | ||
What if you try:
<?php include("banner.php"); ?>
<form action="bad.php" method="post">
Andre Dubuc wrote:
Hi, I have a very annoying problem with pages that re-display using the <form action tag>. On re-display the banner, which is set absolute position at 0px, shifts down by about an inch. I've isolated the cause to the <form action tag>. Simplified code for bad.php page: <?php session_start(); ob_start(); ?> /* html head style body tags */ <form action="bad.php" method="post"> <?php include("banner.php"); ?> <input type="submit" name="submit" value="Add Names" /* closing form body html tags */