1

テキスト div を含む html ページがあります。ページがロードされたときにテキストを行ごとに表示する必要があります。多くのチュートリアルを試しましたが、これを行う方法がわかりません

コードを編集しましたが、正常に動作しますが、スライド内のすべてのテキストに 1 回表示されます。div のすべてのテキストの後にブレークが必要です。

               <div class="text_paragraph">
                <marquee direction="down" behavior="slide">

                <p>Bovine Respiratory Disease (BRD) is the leading cause of economic loss in the beef industry. <small>1, 2</small>
                    </p>
                 </marquee>
            </div>
            <div class="text_paragraph_1">
                <marquee direction="down" behavior="slide">

                <b>Economic loss:</b>
                <ul><li>Costs the industry an estimated $1 billion each year. <small>3, 4</small></li>
                    <li>Losses can be attributed to death, reduced feed and treatment costs.<small>3,4</small></li>
                    <li>Economic losses range from an estimated $57.48 to $239.69 per head. <small>1, 2</small></li>
                </ul>

            </marquee>        
            </div>
            <div class="text_paragraph_2">
                <marquee direction="down" behavior="slide">

                <b>Bacterial Culprits:</b>
                <p>Four bacterial pathogens are commonly associated with BRD. </p>
                <ul><li>Mannheimia haemolytica</li>
                    <li>Pasteurella multocida</li>
                    <li>Histophilus somni</li>
                    <li>Mycoplasma bovis </li></ul>
                    </marquee>

            </div>
4

1 に答える 1

1

ブレークタグは単一の改行を挿入するため、ブレークタグを使用します。

   <br/>
于 2012-04-24T09:19:44.183 に答える