I have bulk of html file like this
<div style="min-height: 32px; padding: 5px; width: 800px; margin: 50px auto; overflow: auto; font-size: 12px;" class="selectable clearfix selected_layer" id="wrap">
<div class="selectable" id="l1" style="float: left; min-width: 64px; min-height: 32px; padding: 5px; margin: 5px; overflow: auto; width: 200px;"></div>
<div class="selectable" id="l2" style="float: right; min-width: 64px; min-height: 32px; padding: 5px; margin: 5px; overflow: auto;"></div></div>
How to detach element style and make it become css (each div always have id to identify)
#wrap{
min-height: 32px;
padding: 5px;
width: 800px;
margin: 50px auto;
overflow: auto;
font-size: 12px;
}
#l1{...}
#l2{...}
...
I need to do it in client side, it mean I will work with javascript, jquery etc...