This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > December 2003 > INPUT size differences in 5.5 vs 6.0





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author INPUT size differences in 5.5 vs 6.0
Dustin Goodyear

2003-12-13, 5:11 pm

Hi all,
I am having an issue with different versions of IE and the size of
text in an INPUT field.
Basicly I have a field that looks like:
<TD colspan="2"><INPUT class="fieldAlignRight" TABINDEX=12 size="9"
maxLength="10" type="text" name="BirthDateTextField"
onFocus="promptSave(true)" value="<%= birthDate %>"></TD>

The class fieldAlignRight is defined in the CSS as
INPUT.fieldAlignRight {font-size:10pt;
font-family:Arial,Helvetica,sans-serif; text-align: right; }

This works fine in both browsers. Our data (12/12/2003) would always
display perfectly. It would be flush against both sides of the text
field. When I changed the CSS to have a SMALLER font, the data does
not fit anymore. It becomes "too big" and gets cut off on the right
hand edge...

INPUT.fieldAlignRight {font-size:9pt;
font-family:Arial,Helvetica,sans-serif; text-align:
right; }

BUT, the data only gets cut off in 5.5. In 6.0 everything works
great.

Can ANYONE help me?

Dustin
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews