MX7 HTML input box sizing problem

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default MX7 HTML input box sizing problem

    This is a really odd one. We moved our application from CF 5 to CF 7 and the
    code runs fine. However, EVERY <input type=text ...> block shows up on the
    screen with about 20-30 pixels padded to the right of the maxlength . I'm
    using the same style sheet on 5 that I'm now using on 7. No matter what I do
    to the stylesheet, margin 0px, padding-right 0px, etc, nothing works. So, in
    trying to trouble shoot this I tried setting the width in the class to 30px and
    indeed every box on the sheet is exactly 30 px wide as you would expect and
    without the padding. So, I started looking for a default style sheet that
    maybe wasn't being overridden by my style sheet; no luck. However, I noticed
    something; if you go to the MX administrator screen the text boxes there all
    have that same wierd padding! Now I'm thinking that this is burried in MX
    somewhere. Anybody got any idea how I can find this? Other things I tried
    that didn't work: Creating a new class for the input tag Checking the 'manage
    white space' setting in the administrator Changing style sheets all together It
    does the same thing on our mx 7 development server and production server so
    it's not server specific I looked at two different IE versions, same thing

    JCox Guest

  2. Similar Questions and Discussions

    1. Spry Horizontal Menu sizing Problem
      I have been trying to set the overall size of the menu to 800px wide but every time I do it makes every button that size. I tried the help for...
    2. problem sizing columns in datagrid
      I have a datagrid that has a column that I would like to be the widest (say 60%) - however another column is populated with some data that is...
    3. Check input in a html file from php
      Hi all i have a html file with code like tr><td><strong>Image 1</strong></td> <td><input type=file name=hi_upload1 size=40></td> </tr> ...
    4. sizing and formating flash in html
      hello- i am trying to make my flash file be sized 100% in both width and height inside on a frame inside of my webpage. when i code the file in...
    5. Font sizing problem
      Heres the problem, photoshop is displaying the fonts are the wrong size. for example, i want to use a size 8 for a font, but when i do that it comes...
  3. #2

    Default Re: MX7 HTML input box sizing problem

    Could you do a "View Source" from your browser and post the code? It would help if no style sheet was linked, nor any class refered to. Just the raw unaltered HTML.
    jdeline Guest

  4. #3

    Default Re: MX7 HTML input box sizing problem

    Thanks for the reply. I'm attaching the view source from a single item page without any links to style sheets or anything.
    JCox Guest

  5. #4

    Default Re: MX7 HTML input box sizing problem

    <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'> <html> <head>
    <title>Untitled</title> </head> <body> <form name='testform'
    action='doit.cfm' method='post'> Test input box<br> <input type='Text'
    name='testbox' size='4' maxlength='4'> <br> This box is set to size = 4 and
    maxlength =4 </form> </body> </html>

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html>
    <head>
    <title>Untitled</title>
    </head>

    <body>


    <form name="testform" action="doit.cfm" method="post">

    Test input box<br>
    <input type="Text" name="testbox" size="4" maxlength="4">
    <br>

    This box is set to size = 4 and maxlength =4

    </form>




    </body>
    </html>

    JCox Guest

  6. #5

    Default Re: MX7 HTML input box sizing problem

    This is a real problem and I've figured out how to show / reporduce it.
    Create a form with one input box and save it as .cfm, take the exact same form
    and save it as a .htm file. If you switch back and forth between the .cfm page
    and the .htm page, you will see that CF adds aproximately 30 px to the end of
    every text box! I'm thinking that there must be some master style sheet
    setting this property but I can't find it. I can reproduce this behavior on
    two different machines. I just bought both servers and the only thing on them
    is Win2K and CF 7 so they're as clean as you can get. As you might imaging,
    this has caused lots of page layouts to get screwed up so anyone have any
    ideas? Thanks, Jim

    JCox Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139