How do you make a textbox appear the same size in Mozzila and IE, I will setup a textbox and it will accept like 3 chars then when I view in mozilla it is huge.. How can I do this in CSS?
Thanks
James
How do you make a textbox appear the same size in Mozzila and IE, I will setup a textbox and it will accept like 3 chars then when I view in mozilla it is huge.. How can I do this in CSS?
Thanks
James
Last edited by asphalt; 05-27-2005 at 12:55 PM.
I don't think you CAN do it in CSS. My guess is you'll need to detect the browser, and then set the text area size to suit.
Stepping On Wires - the new blog
I'm not sure this will be exactly the same in all browsers, however you can set the width and height like so...
<input type="text" name="blah" style="width:100px; height:30px;" />
I will check it when I have access but I believe I set width and all is well in IE and then in mozzilla it grows long... For example I have 5 fields on an input field if they grow big the line gets all messed up..
Thanks
Chromate, Thanks simple enough, width: px seems to do just fine.
Bookmarks