岡井私はjqueryダイアログを使用してdivのコンテンツを表示しています
実際には、ダイアログ ボックスに表示する必要がある html は、css と共にデータベース列から取得され、その html をダイアログに表示すると、親ページの css がコンテンツの css をオーバーライドし始めます。 dialog 、私はすでにhtml全体を書き、cssはデータベース列から来ているので、何もオーバーライドできません。ダイアログコントロールが親ページからのcssの継承を停止し、含まれているコンテンツに関連付けられているフォーマットのみを適用するにはどうすればよいですか?
a simplistic example would be
<body I am the parent page and my css is overriding the dialog div>
<div id= dialog div>
<head>
hey I am the css from the db
</head>
<body>
hey I am the content from the db I am only suppose to format myself according to the css in my head tag
</body>
</div>
</body>