テキストは階段状に降りています。ここにコードがあります。私は1トンの記事を見たが、明らかに誰も私のために働いていない。コードに新しいので、いくつかの助けに感謝します。それを水平線で整列させたい。テキストボックスの配置方法HTML、CSS
<div class="text">
<p class="text1">We strive to produce the most highest grade of product
possible. Efficiency is our key, with the support of our team and our fast
response team, we can meet every demand.</p>
<p class="text2">We strive to produce the most highest grade of product
possible. Efficiency is our key, with the support of our team and our fast
response team, we can meet every demand.</p>
<p class="text3">We strive to produce the most highest grade of product
possible. Efficiency is our key, with the support of our team and our fast
response team, we can meet every demand.</p>
</div>
p.text1 {
color: white;
margin-right: 1250px;
margin-left: 40px;
text-align:center;
font-size:20px;
}
p.text2 {
color: white;
margin-right: 600px;
margin-left: 600px;
text-align:center;
font-size:20px;
}
p.text3 {
color: white;
margin-right: 20px;
margin-left: 1200px;
text-align:center;
font-size:20px;
}
それは山車を使用しないでください2017年です。 –
なぜ2番目の提案があるのですか? – berend
これはまだメーカーのサポートを受けているすべてのブラウザでサポートされています。とにかく、これは最初の解決策でなければなりません。時代遅れのブラウザをサポートすることはどうしても避けられない場合には、浮動小数点数が代替として与えられるかもしれません。 –