Re: Shifting banner on re-display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 13 November 2004 05:02 pm, you wrote:
> 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;">


Thanks Tom,

Tried it. No difference - still shifts. Seems like it is a browser problem.

Regards,
Andre

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux