473,486 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Form Elements act weird in IE

The form elements present a major challenge in IE. Apparently, IE
renders the legend element in odd way. In IE, the legend falls in the
middle of the fieldset border; the background falls outside the
border. When one set position: relative, IE chokes and does not
always displays the legend element; or pushes it off the page.
Negative margins do not help either since the background falls outside
the border.

In addition, the behavior propagates to my fieldset.Radio legend
style. I place a purple border around to illustrate the behavior.
Again, this specific occurrence does not allow me to line up the
legend labels (Firefox handles correctly).

After rereading the form article on the following site, the author
mentioned that this technique has this apparent limitation. Even
though he states this point, I need to understand this behavior and
summarize it. This point will help avoid similar situations in the
future. Obviously, I could include additional markup to get around the
problem, yet this solution become less attractive. Hopefully, somebody
has found a solution or could explain the situation.

Search for Block fieldset
http://www.aplus.co.yu/css/styling-form-fields/

I simplified my page, yet this page still emulates the position fixed.
http://neville.f2o.org/Template_TEMP1.html

The following page removes the OuterWrapper; and assigns { position:
relative; } to the legend element. Bam, the legend elements fall in
place; yet push off the screen.
http://neville.f2o.org/Template_TEMP2.html

The Fieldset.Radio group has several unusually behaviors as well.
First, the Fieldset has some phantom padding; thus pushing the legend
element 4px to the right; Second, the legend element pushes the labels
to the next line. Third the radio labels have larger line heights than
in Firefox. What's going on here? Can we have more control in IE
anywhere along these scenarios?

Jul 21 '05 #1
0 1723

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
6194
by: AnnMarie | last post by:
<script language="JavaScript" type="text/javascript"> <!-- function validate(theForm) { var validity = true; // assume valid if(frmComments.name.value=='' && validity == true) { alert('Your...
8
1104
by: Brett | last post by:
I have a button on a form. I've changed its text to "Exitl". However, when I run the app, the button text is "Exit". How could that happen? It's the only form in this app. I also have the...
1
2257
by: williamroy | last post by:
Hello, I've got a form that runs over 5 pages. I need the last page submit button to post all of the answers at one time from the previous 5 pages (to another server). I'd like to see the last...
5
4177
by: Drew | last post by:
I am having an issue with an app that I built, it seems that Request.Form doesn't want to work sometimes, and only sometimes. For instance, I got a call last week about an error, I had the user...
11
2957
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether...
7
3105
by: ademirzanetti | last post by:
Hi there !!! I would like to listen your opinions about inherit from a STL class like list. For example, do you think it is a good approach if I inherit from list to create something like...
4
2470
by: AAaron123 | last post by:
<body runat="server" id="MainBody"> <form id="form1" runat="server" style="background-color:green; width: 100%; height: 100%"> <br /> Table1" runat="server" Style="background-color:Yellow;...
8
3688
by: Deano | last post by:
How can I reset this count? My form is stable now and doesn't have many controls on it, though obviously it's seen alot of deletions as the form has evolved and this contributes to reaching the...
5
2978
by: programmerboy | last post by:
I never had this kind of issue before and it is completely surprising. I have a usercontrol where I need 2 forms to make 1 form. When I have only 1 form it submits the page to itself. I have spent...
0
7099
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7319
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.