Hola,
Estoy transformando una hoja de estilos y encuentro el siguiente selector
body{
background-color: #FFF;
text-align: center;
font: 100%/1.5 arial, helvetica, sans-serif
}
No entiendo la definición del tamaño de fuente, agradezco si me pueden
explicar.
Gracias,
Germán
--
Germán
Es así: tamaño/interlineado
De todas maneras no se si esta bien ese código, ya que luego de la
barra no especifica la unidad.
Un ejemplo correcto sería:
font: 1em/150% Arial, Helvetica, sans-serif
Ignacio Ricci.
www.ignacioricci.com
On 30/11/2009, at 20:44, Germán Bustos ger...@atarraya.org
Mírate esto http://www.w3.org/TR/CSS2/fonts.html#font-shorthand
The fifth rule sets the 'font-variant' ('small-caps'), the 'font-size'
(120% of the parent's font), the 'line-height' (120% times the font size)
and the 'font-family' ('fantasy'). It follows that the keyword 'normal'
applies to