0

私のウェブサイトでは、私が何をしていても、私のウェブサイトのどのページにも何も配置できないようです。すべてが横に、またはページ上のランダムな場所に整列します。唯一の解決策は、絶対配置を使用することです。これはうまく機能せず、すべてを手動で行う必要があるため、非常に不便です。各画像/テーブルには異なるプロパティが必要です。横に並べると、ウェブサイトは次のようになります - http://i43.tinypic.com/hvb67m.jpg

この (メンバーを表示する) ページ:

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style=" font-family:'Times New Roman';  " align="center">   
        <img src= "./Images/ShowMembers.png" alt="ShowMembers"  />
        <br />
        <br />
        <br />
            <%=str %>

    </div>
</asp:Content>

CSS スタイルシート:

body 
{
    background: url(/upload/Images/Background.jpg) no-repeat; 
    background-size:100% 100%;
    background-position:bottom;

    font-size:18px;
    font-family: Arial;
    direction:rtl
}
#wrapper{
margin:0 auto;
}
a
{
     text-decoration:none;
     color:Blue;
}

.noBorder
{
    border-style:none;
}

td 
{
    vertical-align:central;
    text-align:center;
}

マスターページには何も関係がありません。

どんな種類のアドバイスでも感謝します、ありがとう。

4

1 に答える 1