IE Positioning Problem

Soldato
Joined
14 Feb 2006
Posts
4,644
Location
Surrey, UK
I feel I should be able to work this out, but after much messing around I still haven't managed.

Have a look at http://www.control-p.co.uk/tickets/ticketreq.php.

1. Don't fill anything in. Now when you click Submit, there's a bit of JavaScript which does some basic validation. A red box should come up on the right side of the screen.

2. Uncheck the "ship to the above address". Some extra form fields appear.

3. In Firefox, the red error box stays where it is. But in IE6 & 7, the entire form moves down to level with the bottom of the box.

I want it to stay where it is ;)

What's going on?!

Thanks for any help :)

Code:
.floatright
{
	float:right;
	width: 250px;
	height: 250px;
	background-color: #E7DBD5;
	border: 1px solid red;
	margin:0px;
} 

<div id="errortext" class="floatright" style="padding: 3px;"></div>

Jon
 
I just took a quick look and haven't tested this but the following should be your problem

Code:
<form style="width: 425px; position: static;" method="post" action="vticket.php" name="ticketform">

It's too wide.
 
Back
Top Bottom