Remove inline styles ?
-
Hello!
First, thank you for the great plugin. It’s very useful!
Is it possible to prevent the plugin from inserting inline styles on the
.lyte-wrapper
nodes?I’m talking about these styles (**):
<div class="lyte-wrapper" ** style="width:1280px;max-width: 100%;margin:5px auto;" **> <div class="lyMe hidef" id="WYL_2yHK6A1oOB8"> <div id="lyte_2yHK6A1oOB8" data-src="https://i.ytimg.com/vi/2yHK6A1oOB8/maxresdefault.jpg" class="pL"> <div class="tC"> <div class="tT">A Realistic Day in the Life of Me</div> </div> <div class="play"></div> <div class="ctrl"> <div class="Lctrl"></div> <div class="Rctrl"></div> </div> </div> <div> <noscript> <a href="https://youtu.be/2yHK6A1oOB8" data-rel="lightbox-video-0"><img src="https://i.ytimg.com/vi/2yHK6A1oOB8/0.jpg" alt="" width="1280" height="700" /><br />Lire cette vidéo sur YouTube</a> </noscript> </div> </div> <div class="lL" ** style="max-width:100%;width:1280px;margin:5px auto;" **></div> </div>
Indeed, I do prefer dealing with styles with CSS only and keep the DOM clean.
Thanks in advance for your help!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Remove inline styles ?’ is closed to new replies.