CSS – Part III

Here I have brought some @Rules which are used with page,  usage along with examples are given below..it will help u a lot.

@Rules

RULE USAGE EXAMPLES
Import @import url(uri) [ {  all |  screen |  print }  [ , … ] ] @import url(/styles/core.css);@import url(/styles/print.css)  print;
Page @page [ :first |  :left |  :right | identifier ]  { margin |  size |  marks } @page { margin: 0.5in; }@page :left { margin-right: 0.75in; }
Media @media {  all |  screen |  print } [ , … ]  { rules } @media print { #menu { display: none; } }
font-face @font-face { font-family |  src } @font-face { font-family: “Robson Celtic”; src: url(http://site/fonts/rob-celt”); }
charset @charset charset @charset “ISO-8859-1”;
Advertisements

~ by sushantdebnath on September 22, 2011.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: