Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it legitimate to change a document's style by manipulating the contents of style tags?

For a project I'm working on, I'm contemplating the idea of a sort of CSS-editor. I'm wondering if it's "legit" to expect to see changes in the document when changing the text contents of style tags.

It seems to work on Firefox, but I'm wondering if it's ok in other browsers, and if it's generally an acceptable thing to do.

Yes, it's not an ideal way of doing things, however it may be the most efficient for what I want to do.

like image 340
David N. Welton Avatar asked Dec 21 '25 22:12

David N. Welton


1 Answers

For a CSS editor, I think it will be the best way to do it. It would be exactly the same as changing CSS. But it might require testing for other browsers. Probably it will work on Opera and Chrome as well.

like image 61
Cem Kalyoncu Avatar answered Dec 23 '25 12:12

Cem Kalyoncu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!