Tutorial Remove Inline Styles

This function also preserves hidden content. function remove_style(all) { var i = all.length; var j, is_hidden; // Presentational attr...

This function also preserves hidden content.
function remove_style(all) {
var i = all.length;
var j, is_hidden;

// Presentational attributes.
var attr = [
'align',
'background',
'bgcolor',
'border',
'cellpadding',
'cellspacing',
'color',
'face',
'height',
'hspace',
'marginheight',
'marginwidth',
'noshade',
'nowrap

Hot in Week

Popular

Archive

item