2017-07-02 9 views
0

私のコードでブロッククォートマークアップの後にテキストの太字フォントの太さを取り除くことに問題があります。ブロッククォートマークアップ後にテキストの太字フォントの太さを取り除くことができません

<blockquote cite="https://books.google.com/?id=sUWP_SM7IrEC&pg=PA98"> 

<p>I say to you today, my friends, so even though we face the difficulties of today and tomorrow, I still have a dream. It is a dream deeply rooted in the American dream. 
I have a dream that one day this nation will rise up and live out the true meaning of its creed: 'We hold these truths to be self-evident</p> 

</blockquote> 
     <br /> 
     <p>The speech became known as greatest oratorical speech in the history of America and facilitated the passage of the Civil Right Act of 1964. 
    </p> 

答えて

0

あなたの特定のスタイルの本当にわからないが、あなたは常に特異性を示すために、CSSにネストされたセレクタを適用することにより、<blockquote>テキスト隔離することができます助けるために時間を割いて

p { 
    font-weight: normal; 
} 

blockquote p { 
    font-weight: bold; 
} 
+0

うまく働いてくれてありがとう。 –

+0

この方法が有効な場合は、選択した回答とアップクリックとしてマークしてください。これは、検索フィルタに役立ちます。ありがとう!うれしいことはあなたのために働いた。 :) – jswebb

0

は、このようなpタグの後にあなたの<blockquote>タグを開きます:

<p> 
    <blockquote cite="https://books.google.com/?id=sUWP_SM7IrEC&pg=PA98">I say to you today, my friends, so even though we face the difficulties of today and tomorrow, I still have a dream. It is a dream deeply rooted in the American dream. 
I have a dream that one day this nation will rise up and live out the true meaning of its creed: 'We hold these truths to be self-evident 
    </blockquote> 
</p> 
     <br /> 
<p>The speech became known as greatest oratorical speech in the history of America and facilitated the passage of the Civil Right Act of 1964.</p> 

そして、あなたは常に確認する必要があり、すべてのタグが右側に閉鎖されているこれは私のコードのスニペットです階層的な順序。たとえば、次のように

<p> <---- opening tag 

    <b> <---- another opening tag 

     **** some text here **** 

    </b> <---- closing tag 
</p> <---- another closing tag 
+0

感謝を私はあなたが書いたことを試しましたが、それでも動作しませんでしたが、pタグの代わりにこのスタイルを適用しました。それはうまく機能しました: p { font-weight:normal; } ありがとうございます。 –

関連する問題