Re: Shifting banner on re-display
| From: | Andre Dubuc | Date: | Sun, 14 Nov 2004 02:24:26 +0000 |
| Subject: | Re: Shifting banner on re-display | ||
| References: | 1 2 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-201942@lists.php.net to get a copy of this message | ||
Hi Mark,
Tried your idea - no go.
Somehow I think the problem may be related to the banner's gif width (set at
101%). I recall when I first made the banner, which has a horizontal rule (a
png) above it set at 100%, that the HR caused some problems. Perhaps I should
toy more with the combo.
Thanks for the suggestion.
Regards,
Andre
On Saturday 13 November 2004 07:42 pm, Marek Kilimajer wrote:
> 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 */