In the CSS Outline, Visual Studio has a folder titled, "@ Blocks" . What is it talking about?
+2
A:
From W3...
Media Types allow you to specify how documents will be presented in different media. The document can be displayed differently on the screen, on the paper, with an aural browser, etc.
http://www.w3schools.com/Css/css_mediatypes.asp
so, this will show up in the "@ Blocks" section
@media print
{
p.test {font-family:times,serif;font-size:10px;}
}
Homer
2010-08-18 21:43:37
Correct, but it is more than just media types.
Dustin Laine
2010-08-18 21:47:46
+1
A:
@ Blocks
is where Visual Studio will outline any @
statements. THe @
provide ability to add apply a set of rules to a specific declaration. They are also used for @import
which allows you to nest CSS files. They are also used to define media type, for example @media print
can set styles for when the page is printed. Here is the W3C definition: http://www.w3.org/TR/CSS2/syndata.html#x6
Dustin Laine
2010-08-18 21:46:36