Media style sheets FAQAnswers to frequently asked questions about media dependent style sheets.Do you have results for media dependent style elements- (Found July 8, 2008 ) A: The style element defeats one of the greatest strengths of CSS, its external reference format. HTML style elements generally introduce significant code redundancy and increase the complexity of site management.http://www.codestyle.org/css/media/FAQ.shtml#style-element-results How should I apply alternate stylesheets with different media- (Found July 8, 2008 ) A: First, to declare any alternative stylesheet, you must set the rel attribute in the relevant link element to alternate stylesheet. To apply this style to specific media types, also set the media attribute to those you require in a comma separated list, e.g. "print, projection".http://www.codestyle.org/css/media/FAQ.shtml#alternatemedia How can I place a different image on the first page- (Found July 8, 2008 ) A: With CSS level 2 user agents you can apply special case styling to the first page using the :first pseudo-class on the page selector, but this is restricted to page size, margins and other outline printing features, and cannot be combined with body or image selectors or background properties. See CSS2: Paged media for details.http://www.codestyle.org/css/media/FAQ.shtml#firstpage How do I print one image per page- (Found July 8, 2008 ) A: The CSS declarations for requesting page breaks are given below, but these are only suggested values. Not all browsers support these properties.http://www.codestyle.org/css/media/FAQ.shtml#page-break |