Forums: Open Discussion (Thread #20598)

カレンダーの表示位置について (2008-11-18 00:28 by Anonymous #39994)

server4jweb 2.0.1.0を使用しています。

カレンダー入力機能を実装してカレンダーボタンを押すと,ボタンのすぐ下ではなく離れた位置(右下の方)に表示されてしまいます。(IE6で確認。それ以外では未確認です。)

画面の左上からの絶対位置を計算しているようなのですが,position:absoluteの指定は「そのHTML要素のコンテナ要素にposition指定がある場合はコンテナ要素からの相対位置」ですので,画面左上からの位置にはならずに右下にずれてしまうようです。

divのstyleにposition要素を指定して疑似フレームを実現することはよくありそうなのですが,そのような使用方法はサポート対象外なのでしょうか?

Reply to #39994×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login