Can anyone explain to me how the "size"-attribute of input fields works?
In reasonable browsers (like Chrome) I managed to make a size 12 and a size 44 field just as wide (with some margin) as 1 size 60 field. However, in Internet Explorer the two fields are much bigger than the one field.
On another row I have 3 fields, 2 of a 12 size, and 1 of a 28 size. After removing all borders/paddings/margins from the fields, I have the following, and don't understand why:
1 field of size 60 = 327px width
2 fields, 12 & 44 size (56 total size) = 87px & 247px width (334px total width)
3 fields, 12, 12 & 28 size (52 total size) = 87px, 87px & 167px width (341px total width)
Why does it work that way in IE, but differently in other browsers? And is there a way to make it work consistently, using only CSS? (I do not have easy access to other ways. I'm well aware that there are better ways though)