SiteSniffer Posted January 4, 2012 Share Posted January 4, 2012 I'm having trouble sizing the field in pixels. Currrently it's 40 characters but I really want it to be like a total length of 400 pixels (including the button).This is what I currently have: echo '<input name="file" type="file" id="file" size="40" style="border: 1px solid #06F;" />'; Any suggestions? Link to comment Share on other sites More sharing options...
regicidedelferoz Posted January 5, 2012 Share Posted January 5, 2012 i think it's not possible with file type Link to comment Share on other sites More sharing options...
Ingolme Posted January 5, 2012 Share Posted January 5, 2012 You can use CSS to style it to a point, though the file input is different in every browser. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.