Junio 2014
Propiedades de fuente
Propiedad
Valor
Descripcin
font-family
Fuente especfica
(Arial, Times,
Verdana)
Familia (serif, sansserif, fantasy,
monospace, cursive)
font-style
font-size
xx-small, x-small,
small, medium, large,
x-large, xx-large
Define el tamao de la fuente
Tamao en puntos
(pt), cm, %
Textos y prrafos
Propiedad
color
Valor
"#RRGGBB"
Descripcin
Define el color del texto
text-align
Define la sangra
Define la decoracin
textshadow
texttransform
whitespace
Divisin de palabras
wordspacing
word-spacing: 6px;
width
height
Colores de fondo
Propiedad
Valor
Descripcin
backgroundcolor
"#RRGGBB"
backgroundimage
url(http://url)
backgroundrepeat
repeat, repeat-x,
repeat-y, no-repeat
backgroundattachment
scroll, fixed
backgroundposition
background
background:
url(test.jpg) fixed
repeat;
Mrgenes
Propiedad
Ejemplo
Descripcin
margin-top
margin-top: 5px;
margin-right
margin-right: 0.5em;
margin-left
margin-left: 0;
margin
Bordes
Propiedad
Valor
Descripcin
en puntos (pts), pulgadas ("), centmetros, pxeles Grosor del borde (para la
(px) o en %
ubicacin dada)
border-left-color: #RRGGBB;
border-collapse
collapse
separate
Agrega o elimina el
efecto "3D"
Border
Relleno
Propiedad
Valor
Descripcin
padding-top
padding-top: 3px;
padding-right
padding-right: 0.25em;
padding-bottom padding-bottom: 0;
padding-left
padding-left: 2pt;
padding
Tablas
Propiedad
Valor
Descripcin
bordercollapse
separate o collapse
borderspacing
border-spacing: 4px;
captionside
emptycells
show o collapse
tablelayout
speakheaders
Listas
Propiedad
Valor
Descripcin
list-styletype
list-styleimage
list-style-image: url(image.png);
list-styleposition
inside o outside
list-style
Presentacin de la pgina
Propiedad
Valor
Descripcin
@page
size
auto, landscape o
portrait
Formato de impresin
Margen superior
marginright
Margen derecho
marginbottom
Margen izquierdo
marks
crop (marcas de
recorte), cross
(marcas cruzadas),
none (sin marcas)
pagebreakbefore
Always, avoid
pageAlways, avoid
break-after
orphans
orphans: 2;
widows: 1;
widows
CSS - Style sheets Stylesheets Les feuilles de style I fogli di stile As folhas de estilo
Este documento intitulado CSS: Hojas de estilo de Kioskea (es.kioskea.net) esta puesto a diposicin bajo la
licencia Creative Commons. Puede copiar, modificar bajo las condiciones puestas por la licencia, siempre que esta
nota sea visible.