티스토리 툴바


본 앱을 통한 수익의 100%는 세계빈곤아동들에게 기부됩니다.

Posted by 지심이

웹개발 문서 모음

 

웹사이트 개발시에 필요한 문서 목록입니다.
해당 문서목록의 의견,문제점,궁금하신 점은
Q&A게시판에 올려주십시요.
공유를 원하는 유용한 웹개발문서를 받고 있습니다. 많이 많이
여기로 보내주세요.(다양한 업종의 스토리보드와 제안서 강추)

Q : 파일 다운로드시 한글파일의 경우 다운로드 되지 않거나 글자가 깨집니다.
A : 익스플로러 "도구 > 인터넷 옵션 > 고급 "에서 고급 UTF8옵션 해제하시면 됩니다.

* 버전 : v2.0
* 최종수정일자 : 2005.07.08 10:27:56

 

Posted by 지심이

[CSS] @media Rule

분류없음 2010/11/04 15:33

@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.
print 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

Posted by 지심이