Fields within HTML tables
Posted on 2002-04-15
Here's the scenario:
I have a database on the Internet that I have 2 forms set up for the users - one to "view" the data and another to "edit" the data. So on the view form, the fields are locked. On the edit form MOST of the fields are unlocked to allow them to change the data. Some fields should not be changed therefore they are still in a locked state.
When a user is using IE 5.5, both forms display just fine. However when the same forms are displayed in IE 6, the fields appear strange on the screen. The form still works properly, it just looks really bad. Not professional for a software product if you know what I mean. The fields themselves are setup in an HTML table with 2 columns. The left column has the field description and the right column has the text boxes for data. However some of the right hand column's rows have more than one text box in them. This is where we have a problem. We show City State and Zip code and place them on the same row in the HTML table with 3 text boxes in the right column. In IE 5.5 they look just fine. IE 6 will take each of the text boxes and place them below each other in the right column on the view screen. This just looks really bad. Now once I go to the edit screen, the text boxes appear just fine - right next to each other like they are suppose to. Is there something about the locked fields being displayed in IE 6? The fields that we still use for display only (that are locked) on the edit form still appear wrong on different lines instead of next to each other on the same line.
Is there any explanation for this? The server side script is using VB. Nothing has changed on the pages, so it's gotta be something within IE 6. I've posted on various sites but no one can answer the question - SO I came to the experts.
By the way - it's always looked bad in Netscape Navigator, but now IE 6 is doing the same thing.
Any suggestions are GREATLY appreciated!!