Skip to main content
October 5, 2010
Question

IE issue with CF inputs

  • October 5, 2010
  • 2 replies
  • 632 views

I have a very simpleCF input:

                    <label for="login_id">Account ID:</label>
                    <cfinput type="password" size="25" name="login_id" />

My issue is, whenever I change the TYPE to TEXT, so the user can see what they are typing, the length of the text box in Internet Explorer gets shorter. I can't figure out why this is happening. It ends up messing up my wntire GUI. All I am changing is the type.

In Firefox, this change does nothing.

Has anyone experienced this with IE? Is there a fix for this?

    This topic has been closed for replies.

    2 replies

    ilssac
    Inspiring
    October 5, 2010

    JasonMichalak wrote:

    Has anyone experienced this with IE? Is there a fix for this?

    Yes, or behaviour very much like it.

    The fix is to NOT rely on IE's (or any browser's) default CSS sytling of html page elements.  Specify your own very specific CSS paramters for any page element that is critical to a tight UI layout.

    Inspiring
    October 5, 2010

    What if you style it with CSS instead of with the SIZE attribute?

    --

    Adam

    October 5, 2010

    Im kinda just fixing this for the developer, this isnt really my app so i dont have the rights to make that type of change.

    IE is killing me.


    ilssac
    Inspiring
    October 5, 2010

    JasonMichalak wrote:

    Im kinda just fixing this for the developer, this isnt really my app so i dont have the rights to make that type of change.

    IE is killing me.


    Then you are probably just gonna have to chalk this up to the varagies of IE and move on.