ds111 Posted November 24, 2008 Share Posted November 24, 2008 Hello. I am creating a table with a few input fields. Each <td> is styled with width 40px. That page looks correct on IE and Firefox on PC, but renders incorrectly on FF and Safari on Mac. It looks like the input fields are much longer and table goes beyond the page. How do I style it so that it works on PC and Mac? Thank you. Link to comment https://forums.phpfreaks.com/topic/133975-table-width-input-field/ Share on other sites More sharing options...
jcombs_31 Posted November 24, 2008 Share Posted November 24, 2008 You need to style the input, not the td. Link to comment https://forums.phpfreaks.com/topic/133975-table-width-input-field/#findComment-697869 Share on other sites More sharing options...
ds111 Posted November 28, 2008 Author Share Posted November 28, 2008 I am using size="32" and maxlength="32". And field shows a lot shorter on Firefox, than IE. how exactly do I do that? what parameters do I have to set? Link to comment https://forums.phpfreaks.com/topic/133975-table-width-input-field/#findComment-701364 Share on other sites More sharing options...
dropfaith Posted November 29, 2008 Share Posted November 29, 2008 size is the width of an input field Link to comment https://forums.phpfreaks.com/topic/133975-table-width-input-field/#findComment-701394 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.