$("#DivID").css("background-color", "#000"); $("#DivID").css("border", "solid 2px #ff0000"); Tagged: 2015CSS