[thelist] Printing a div?

Aylard JA (James) jaylard at equilon.com
Thu Sep 21 11:34:21 CDT 2000


	Oops. Syntax mistake:

> <style type="text/css">
>    div { font-weight: bold }
>    @media print {
>       div { background-color: #ff0000 ;
>    }
> </style>

	I missed the closing curly brace on the style declaration for the
div contained within the @media rule. Should be:

> <style type="text/css">
>    div { font-weight: bold }
>    @media print {
>       div { background-color: #ff0000 ; }
>    }
> </style>

James Aylard
jaylard at equilon.com




More information about the thelist mailing list