开发者

HTML Select, force direction down

Is there a way to force the dropdown direction of a select element in HTML down?

At the moment we have a product display page, the select box appears below the halfway mark of the screen i开发者_JAVA百科n a widescreen resolution and therefore makes the dropdown go up.

Is this possible? Thanks.


Nope, this can't be done with a standard select element.

You would have to use a JavaScript based alternative.

A cursory search doesn't reveal any jQuery/JS based alternatives that explicitly offer setting the direction as an option, but I'm sure there is one out there that does it.


Don't think so, its up to the browser/OS how it does it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜