Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<div id="dialog" title="dialog" style="display:none" > Test <p>Test</p> </div>
「p」タグ内のすべてのテキストを太字にしたい
css:
#dialog p {font-weight:bold}
jquery
$('#id').find('p').css("font-weight","bold");
#dialog p{ font-weight:bold; }
あなたのスタイルシートでうまくいくでしょう。