ホームページ >ウェブフロントエンド >htmlチュートリアル >大きな DIV の右下隅に DIV を配置したい場合はどうすればよいですか?この大きな DIV には 2 つの並列 DIV_html/css_WEB-ITnose が含まれています
1e02eef850ab26d94565e68320344947
f71b17b1cd8d5bfd06a08628da7e3818
c997cec9f4b83324a7145373fde865ba ="navmenu">
いくつかの UL Li メニュー
2a98a13b8e89accf813d6ba1daf4bb6a16b28748ea4df4d9c2150843fecfba68
c997cec9f4b83324a7145373fde865ba #xx {position:relative;width: 965px ;height:186px;overflow:hidden;}
#yidong {position:absolute:right:0px;bottom:0px;width:66px;height:62px;background:url(malu.jpg) no-repeat 0 0;}
yidong レイヤーを navmenu の右下隅に実行させた場合はどうすればよいでしょうか?上記は機能しません
ディスカッションに返信 (解決策)
position:absolute;right:0px;
#yidong {position:absolute:right:0px;top:124px;width:66px;height:62px;background:url(malu.jpg) no-repeat 0 0;}
大きい div の CSS をposition:relativeに設定します。小さい div の CSS をposition:absolute;bottom:0 right:0; に設定します。