Ask a Question related to Macromedia ColdFusion, Design and Development.
-
JCox #1
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
-
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... -
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... -
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> ... -
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... -
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... -
jdeline #2
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
-
JCox #3
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
-
JCox #4
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
-
JCox #5
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



Reply With Quote

