フッターに収まるコンテナとして使用するdivがあります
#footcompatible { width:985px; height:50px; display:block; position:relative; left:0; top:0; <--- FIXED changed to top = 50px (the height) and added bottom -50px}
マスターページの HTML は次のとおりです。
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
<div id="footcompatible">
<div class="footerbarsTop"><!-- insert footer bar --></div>
<div id="footerblock"><%Html.RenderPartial(ViewData["footer"].ToString()); %></div>
<div class="footerbarsBot"><!-- insert footer bar --></div>
</div>
contentplaceholder は、たとえば、私のページのコンテンツに置き換えられます。たとえば、コンテンツの何とか何とかテキストなどを展開します
そして上記のcss:
.iceabtside {display:block; width:271px; height:auto; position:absolute; left:697px; top:0; border:0px solid white; text-align:left;}
also this is what i missed of on my initial paste
.iceabtfm
{
display:block; width:661px; height:auto; position:relative; left:24px; top:0; text-align:left;
}
この後に来たいフッターブロックですが、実際に得られるのは、それがページの半分下にあり、コンテンツの上にあることです。追加するコンテンツが増えても問題はありません。上記のコンテンツの高さがわからないので、絶対的な位置付けはできません! コンテンツの一番上に配置を削除すると、非常に奇妙で、頭を少し悩ませています。