html - Can I apply CSS styles to part of document -


for example, have frontend , backend sites uses different templates , styles. there workflow - manager edits page text wysiwyg editor , saves , wants see result.

it user friendly when stay in backend , able see edited text inline on page, in backend content div, frontend styles.

let's assume, need see text formatting styles, , have separate css file styles.

my solutions:

1)create page custom layout (only content div) , show in backend iframe.

2) process css file , prepend backend div class name selector every rule in css. print style tag processed css.

is there more elegant solution issue? @begin_style @end_style?

thanks!


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -