0

バナー領域に JavaScript の回転画像を含めようとしています。画像をロゴの下ではなく右に表示する方法がわかりません。2 つの画像を縦に並べて表示すると、コードは次のようになります。

    <style>
<!--
A           { color: #000000; text-decoration: none; }
A:link      { color: #313131; text-decoration: none; }
A:visited   { color: #313131; text-decoration: none; }
A:active    { color: #C0C0C0;  }
A:hover     { color: #FF0000 ;  }

BODY,TD,TR{
    font-family: verdana, arial, sans-serif;
    color: #000;
    font-size: 12px;
    font-weight:normal;
    line-height: 1.3em;
}
.banner {
    font-family: georgia, verdana, arial, sans-serif;
    color:white;
    font-size:x-large;
    font-weight:bold;
    border-left:1px solid #FFF;
    border-right:1px solid #FFF;
    border-top:1px solid #FFF;
    background:#C0C0C0;
    padding:7px;
}
.description{
    font-family:verdana, arial, sans-serif;
    font-size:x-small;
    font-weight:bold;
}
//-->
</style>
</head>
<body bgcolor="#ffffff">
<div style="width: 700px; margin: 0 auto;" align="center">

<table border="0" width="700" cellspacing="0" cellpadding="0">
    <tr>
        <td class="banner"> <span class="description"><img style="width: 365px; height: 145px;"
                  title="Metamora Herald" alt="Metamora Herald" src="redbirdheraldlogo.png"></span><script type="text/javascript">
        show_banners();
    </script> </td>
    </tr>

スクリプトからランダムな画像を取得して、バナーの下ではなく右側に表示するにはどうすればよいですか? ありがとう

4

1 に答える 1

0

ここにリンクhttp://jsfiddle.net/SL9Kx/1/があります。それはあなたが望むものですか?

あなたのウェブサイトのバナーの HTML コードを少し変更しました。質問がある場合は、以下で (コメントで) 質問することができます。

  /////
于 2013-10-26T19:41:45.470 に答える