<div dir="ltr">Hello, Saksham.<div><br></div><div>I agree with you and Lakshay. I don't see problems in using inline styles in this case.</div><div><br></div><div>Regards,</div><div>Maurício</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 26, 2018 at 9:05 AM Lakshay arora <<a href="mailto:arora.lakshya123@gmail.com">arora.lakshya123@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div>Since, changing styles using javascript changes the inline style attribute and because you have to change the styles dynamically, this seems to be a nice idea. However, you can take a look at <a href="https://codepen.io/GiorgioMalvone/pen/vHCds" target="_blank">this</a>, using contentEditable attreibute to change styles, thohugh applying this could get difficult and slow.</div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 26, 2018 at 4:47 PM, Saksham Gupta <span dir="ltr"><<a href="mailto:shucon01@gmail.com" target="_blank">shucon01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>I'm going to create preview panels for theme generator. As the colours would be dynamic it's best use to use javascript to change inline style tags. I know that we are trying to convert all the already present inline style tags to css files. But I think for changing colours of panels on pressing preview buttons, the best way is to use style tags for the background of panels. Any other idea is highly appreciated.</div><div><br></div><div>Regards,</div><div><br></div><div>Saksham Gupta</div></div>
<br>_______________________________________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net" target="_blank">Developers@phpmyadmin.net</a><br>
<a href="https://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.phpmyadmin.net/mailman/listinfo/developers</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net" target="_blank">Developers@phpmyadmin.net</a><br>
<a href="https://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.phpmyadmin.net/mailman/listinfo/developers</a><br>
</blockquote></div>