How to select with a specific style attribute?
To my knowledge, there's no way to do that using a jQuery selector, but you can use the filter() method instead:
$("div").filter(function() {
var $this = $(this);
return $this.css("width") == "420px"
&& $this.css("text-align") == "left"
&& $this.css("margin-top") == "10px"
&& $this.css("margin-bottom") == "10px";
});