How can I control the expansion direction of a drop-down list? I've got a long list on the right side of the page that goes off the page because it expands right. Can I make it expand to the left?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
As far as I'm aware that's not under the designer's control but under the browser's, at least for "normal" select
tags. You could always consider using an existing library like jQuery to "roll your own" select implementations (which is more involved, of course), then you can control them at will. See this question for how to do that.