Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/04/2012, 10:38
Avatar de Dafonz
Dafonz
 
Fecha de Ingreso: octubre-2009
Mensajes: 127
Antigüedad: 14 años, 6 meses
Puntos: 36
Respuesta: Como remover propiedad

Cita:
Setting the value of a style property to an empty string — e.g. $('#mydiv').css('color', '') — removes that property from an element if it has already been directly applied, whether in the HTML style attribute, through jQuery's .css() method, or through direct DOM manipulation of the style property. It does not, however, remove a style that has been applied with a CSS rule in a stylesheet or <style> element.
Si lo trae desde antes sobrescribe, si lo aplicaste con el mismo método de .css puedes poner la propiedad con cadena vacía.