border-left-width

Establece el ancho del borde del objeto.

Sintaxis

{ border-left-width: sWidth }

Valores posibles

sWidth

Variante que especifica uno de los valores siguientes:

medium

Valor predeterminado.

thick

Mayor que el ancho predeterminado.

thin

Menor que el ancho predeterminado.

width

Número de punto flotante, seguido por un designador de unidades absolutas ( cm , mm , in , pt o pc ) o un designador de unidades relativas ( em , ex o px ).

Para obtener más información acerca de las unidades de longitud admitidas, vea Referencia de unidades de longitud.

Esta propiedad tiene el valor predeterminado medium . No se hereda.

Ejemplos

En el siguiente ejemplo se usa la propiedad border-left-width para especificar el ancho del borde. Se utiliza una llamada a una hoja de estilo incrustada (global) para cambiar el ancho del borde inferior a 1 centímetro cuando se haga clic en el mouse:

<head><style>
    td { border-left-width: 3mm; }
    .changeborder 1 { border-left-width: 1cm; }
</style>
</head>
<body>
<table border >
<tr>
    <td onclick="this.className='changeborder 1'" ondblclick="this.className=''">
        <img src="sphere.jpg">
    </td>
</tr>
</table>

Información sobre estándares

Esta propiedad se define en la especificación Cascading Style Sheets (CSS), Level 1 (CSS1) (Hojas de estilos en cascada (CSS), nivel 1 (CSS1)) Ee371307.xtlink_newWindow(es-es,Expression.40).png.

Aplicable a

a, abbr, acronym, b, bdo, big, blockquote, body, button, caption, center, cite, code, custom, dd, defaults, del, dfn, div, dl, dt, em, embed, fieldset, font, form, frame, hn, hr, i, iframe, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, ins, li, object, ol, p, q, s, span, sub, table, td, th, tt, u, ul, var, xmp

Vea también

Conceptos

border
border-width