Returning CSS border attributes using jQuery

Returning CSS border attributes using jQuery

I have CSS defined as:


#container {
        width:400px;
        border:1px solid red;
}


I was not able to get the value using $("#container").css("border"), but  $("#container").css("width") is ok, any idea?