在aspx页面中动态排列图像

时间:2018-06-11 05:51:42

标签: css asp.net

当我打开我的aspx页面时,我在桌面上并排放置了3张图像。但是我希望在移动设备中打开我的页面,这些图像垂直对齐。除图像外,页面上的内容应保持相同。

Aspx页面

<div class="row enrollmentStep">
        <div class="col-xs-12 step-container">
            <!-- Top Container -->
            <div class="row inner-step-container">
                <div class="col-xs-12 top-spacing">
                    <div align="center" class="row">
                        <div id="pageDescription" class="col-xs-12" runat="server"></div>
                    </div>
                    <table align="center" border="0" cellpadding="3" cellspacing="0" width="100%">

                        <tr>
                            <div align="center">
                                <asp:Image ID="qrCodeImage" runat="server" Height="200px" Width="200px" Visible="true" />
                            </div>
                            <div align="center">
                                <a id="secret" runat="server" class="txtLabel" visible="true" target="_blank"></a>

                                <td>
                                    <div align="center">
                                        <label id="siLabel" runat="server" for="siBox" class="txtLabel"></label>
                                    </div>
                                </td>
                            </div>

                        </tr>
                    </table>
                    <div class="imgrow" align="center" visible="true">


                        <div class="top-spacing bottom-spacing" style="float: left;  margin-left: 20%; margin-bottom: 0.5em; overflow:auto">
                            <a id="iTunesLink" runat="server" class="txtLabel" visible="true" target="_blank">

                                <asp:Image ID="itunes" Height="64px" Width="128px" runat="server" Visible="true" />
                            </a>
                        </div>


                        <div  class="top-spacing bottom-spacing" style="float: left; align:center; margin-left: 20%; margin-bottom: 0.5em; overflow:auto">
                            <a id="play_storeLink" runat="server" class="txtLabel" visible="true" target="_blank">

                                <asp:Image ID="play_store" Height="64px" Width="128px" runat="server" Visible="true" />
                            </a>
                        </div>


                        <div class="top-spacing bottom-spacing" style="float: left;  margin-left: 20%; margin-bottom: 0.5em; overflow:auto">
                            <a id="windows_storeLink" runat="server" class="txtLabel" visible="true" target="_blank">

                                <asp:Image ID="windows_store" Height="64px" Width="128px" runat="server" Visible="true" />
                            </a>
                        </div>
                    </div>
                </div>
        </div>
            </div>
        </div>

0 个答案:

没有答案