kickoutbettman Posted April 27, 2009 Share Posted April 27, 2009 Hi all, I'm having trouble figuring out how to have a dropdown menu item included within a small table cell. My dropdown menu is populating items from a DB. So the default dropdown size is equal to the longest item in the dropdown. But my table cells really needs to keep their original size which is 40px. Anyone knows a solution for it. ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/155871-solved-problem-with-table-cell-space-for-dropdown-menu/ Share on other sites More sharing options...
jcombs_31 Posted April 27, 2009 Share Posted April 27, 2009 You can set the width of the select and/or option tag, but as far as I know that content cannot wrap. Quote Link to comment https://forums.phpfreaks.com/topic/155871-solved-problem-with-table-cell-space-for-dropdown-menu/#findComment-820443 Share on other sites More sharing options...
kickoutbettman Posted April 27, 2009 Author Share Posted April 27, 2009 Alright it worked. style="width:40px;" works, when I click on my dropdown it shows the full options and when selected only see a part of it. Thank you jcombs_31 Quote Link to comment https://forums.phpfreaks.com/topic/155871-solved-problem-with-table-cell-space-for-dropdown-menu/#findComment-820468 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.