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 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. 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 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
Archived
This topic is now archived and is closed to further replies.