2

私のaspxファイルでは、

<div id="blueBar">
        <div style="position: absolute;">
            <asp:Image ID="Image1" runat="server" ImageUrl="~/Styles/images/blueBar_01.jpg" Width="150px"
                Style="margin-top: 4px" /><br />
        </div>
        <div style="top: 35%; position: absolute">
            <asp:Image ID="Image2" runat="server" ImageUrl="~/Styles/images/blueBar_02.jpg" Width="150px" /><br />
        </div>
        <div style="position: absolute; bottom: 0">
            <asp:Image ID="Image3" runat="server" ImageUrl="~/Styles/images/blueBar_03.jpg" Width="150px" /><br />
        </div>
    </div>

Firefox ブラウザーは、画像 (Image1、Image2、Image3) を表示できます。
しかし、Internet Explorer では表示できません。十字のサインが見えます。理由と解決方法を知りたいですか?
IE バージョン (8.0.7601.17514) を使用しています

4

1 に答える 1

1

スタイルフォルダーがルートレベルにある場合は、次のように試してください:-

<div id="blueBar">
        <div style="position: absolute;">
            <asp:Image ID="Image1" runat="server" ImageUrl="Styles/images/blueBar_01.jpg" Width="150px"
                Style="margin-top: 4px" /><br />
        </div>
        <div style="top: 35%; position: absolute">
            <asp:Image ID="Image2" runat="server" ImageUrl="Styles/images/blueBar_02.jpg" Width="150px" /><br />
        </div>
        <div style="position: absolute; bottom: 0">
            <asp:Image ID="Image3" runat="server" ImageUrl="Styles/images/blueBar_03.jpg" Width="150px" /><br />
        </div>
    </div>
于 2013-03-29T12:25:46.820 に答える