problems with forms in ie8 and opera

They have: 11 posts

Joined: Apr 2010

I'm having issues with a couple of forms in ie8 and opera. The forms work fine in all other browsers and versions back to ie6.

I've never come across this before and I'm not sure what the problem is. Here's a wee test page showing the problem - Other things look funny but it's only the form I'm worried about. In ie8 it has a weird double bottom thing going on and in Opera the fieldset dips well below the bottom of the container div.

Any clues? Thanks Smiling

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

For the Opera problem, try taking the float off the fieldset. I don't think it should be needed there anyway, since the container is already floated (??).

They have: 6 posts

Joined: Feb 2011

Hi barricades,

The problem is probably your HTML. I have added a snippet of your HTML with only the bits that could be the problem present.

You start off with the form tag, you then open a fieldset and then close the form tag before you have closed your fieldset. If you change it so that you close the fieldset before the form tag, it will probably appear correctly in IE and Opera.

<form id="RegUserSignupForm" method="post" action="/raisin/users/add" accept-charset="utf-8"><fieldset></form></fieldset>

They have: 11 posts

Joined: Apr 2010

Hey TrafficNova, thanks, that was what the problem was. I was banging my head on my desk for hours trying to figure that out.

I appreciate your eagle eyes!

AriGold's picture

They have: 3 posts

Joined: Jun 2011

Internet Explorer is the devil! Forget W3C validation... just check your sites functionality in IE7 and your good to go. IE6 is a dinosaur that came out in 2001 and even Google announced it's not supporting that version any longer Google Agrees: IE6 Must Die

They have: 53 posts

Joined: Feb 2011

i also have same problem with opera and ie 8 then i change in to Google chrome First of all update your browser change it.

They have: 59 posts

Joined: Aug 2011

thanks for the suggestion, I made that change but I found the problem was elsewhere. In case it helps anyone else, although I guess that's unlikely, the problem was that I was closing my form before I closed my field-set.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.