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

c# - OpenXML hanging while writing elements -

php - regexp cyrillic filename not matches -

sql - Select Query has unexpected multiple records (MS Access) -