ページビルダーに取り組んでいて、この二重引用符の問題に遭遇しました.
div id="set" style="color:black;font-size:12px"
document.getElementById('set').style.backgroundImage="url('editor.png')"
また
document.getElementById('set').style.backgroundImage="url(editor.png)"
これはfirefoxとIEで設定されます
div id="set" style="url("editor.png");color:black;font-size:12px"
ページを保存して再読み込みすると、二重引用符でスタイルが分割されます。
この問題の回避策を知っている人はいますか?