Hi,
Sunday, November 14, 2004, 2:00:08 AM, you wrote:
AD> Hi,
AD> 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,
AD> shifts down by about an inch. I've isolated the cause to the <form action
tag>>.
AD> Simplified code for bad.php page:
AD> <?php session_start(); ob_start(); ?>
AD> /* html head style body tags */
AD> <form action="bad.php" method="post">
AD> <?php include("banner.php"); ?>
AD> <input type="submit" name="submit" value="Add Names"
AD> /* closing form body html tags */
AD> <?php
AD> if($_POST['submit'] == "Add Names"){
AD> switch ($_SESSION['status']) :
AD> case "Member" :
AD> header("location: add-names.php");
AD> break;
AD> default :
AD> header("location: join.php");
AD> break;
AD> endswitch;
AD> }
?>>
AD> Is there a workaround for this problem, or is this a normal occurence?
AD> Any suggestions or pointers would be gratefully appreciated.
AD> Tia,
AD> Andre
You could try this:
<form action="bad.php" method="post" style="display: inline;">
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php