no entiendo esto de los CSS para imprimir, significa que cuando mi navegadorNo. Significa que podemos definir diferentes hojas de estilo para cada situaci�n o dispositivo:
muestre un bloque con una CSS para imprimir se me va a imprimir
automaticamente en el printer o que?
- Podemos definir una hoja de estilo para cuando el html se muestre en pantalla:
<link href="normal.css" media="screen" rel="stylesheet" type="text/css" />
- Otra hoja de estilo que se aplicar� cuando el usuario vaya a imprimir el html o est� en "preview" para impresi�n.
<link href="impresion.css" media="print" rel="stylesheet" type="text/css" />
etc.
Si la p�gina se est� viendo en pantalla, se aplican los estilos que tienen definido media="screen" .
Si estamos imprimiendo, se aplican los estilos que tienen definido media="print" etc.
Cuando no especificamos media="..." supongo que se aplicar� en todas las condiciones.
La lista de para qu� medios se pueden definir es esta:
*all*
Suitable for all devices. *aural*
Intended for speech synthesizers. See the section on aural style
sheets <http://www.w3.org/TR/REC-CSS2/aural.html> for details. *braille*
Intended for braille tactile feedback devices. *embossed*
Intended for paged braille printers. *handheld*
Intended for handheld devices (typically small screen, monochrome,
limited bandwidth). *print*
Intended for paged, opaque material and for documents viewed on
screen in print preview mode. Please consult the section on paged
media <http://www.w3.org/TR/REC-CSS2/page.html> for information
about formatting issues that are specific to paged media. *projection*
Intended for projected presentations, for example projectors or
print to transparencies. Please consult the section on paged media
<http://www.w3.org/TR/REC-CSS2/page.html> for information about
formatting issues that are specific to paged media. *screen*
Intended primarily for color computer screens. *tty*
Intended for media using a fixed-pitch character grid, such as
teletypes, terminals, or portable devices with limited display
capabilities. Authors should not use pixel units
<http://www.w3.org/TR/REC-CSS2/syndata.html#pixel-units> with the
"tty" media type. *tv*
Intended for television-type devices (low resolution, color,
limited-scrollability screens, sound available)
Y la informaci�n completa est� en:
http://www.w3.org/TR/REC-CSS2/media.html
-- _______________________________________ Garikoitz Araolaza CodeSyntax [EMAIL PROTECTED] Azitaingo Industrialdea 3 K E-20600-EIBAR Tel: +34 943 82 17 80
_______________________________________________ Ovillo mailing list [EMAIL PROTECTED] http://ovillo.org/mailman/listinfo/ovillo_ovillo.org
