본 앱을 통한 수익의 100%는 세계빈곤아동들에게 기부됩니다.
웹개발 문서 모음
| 웹사이트 개발시에 필요한 문서 목록입니다. 해당 문서목록의 의견,문제점,궁금하신 점은 Q&A게시판에 올려주십시요. 공유를 원하는 유용한 웹개발문서를 받고 있습니다. 많이 많이 여기로 보내주세요.(다양한 업종의 스토리보드와 제안서 강추) Q : 파일 다운로드시 한글파일의 경우 다운로드 되지 않거나 글자가 깨집니다. |
* 버전 : v2.0
* 최종수정일자 : 2005.07.08 10:27:56
@media Rule |
Internet Development Index |
Sets the media types for a set of rules in a styleSheet object.
Syntax
HTML @media sMediaType { sRules } Scripting N/A
Possible Values
sMediaType String that specifies one of the following media types:
screen Output is intended for computer screens. Output is intended for printed material and for documents viewed in Print Preview mode. all Output is intended for all devices. sRules String that specifies one or more rules in a styleSheet object.
Remarks
The rule has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft Internet Explorer 5. For more information, see About Dynamic Properties.
Example
In the following example, the @media rule is used to specify the font-size attribute of the body element for two media types.
// For computer screens, the font size is 12pt. @media screen { BODY {font-size:12pt;} } // When printed, the font size is 8pt. @media print { BODY {font-size:8pt;} }
Standards Information
This rule is defined in Cascading Style Sheets (CSS), Level 2 (CSS2) .
See Also
media


