noganno
9/14/2013 - 8:29 AM

Load jQuery and tell every div to be 100% width http://snipplr.com/view/66826

Load jQuery and tell every div to be 100% width http://snipplr.com/view/66826

var scr = document.createElement('script');
scr.setAttribute('src', 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js');
document.body.appendChild(scr);
 
scr.onload = function(){
 
  $('div').attr('class', '').attr('id', '').css({
		'margin' : 0,
		'padding' : 0,
		'width': '100%',
		'clear':'both'
	});
};