Example(s):
In this instance, we condense three policies with identical declarations
into a single. Hence,
Office Professional 2007,
h1 font-family: sans-serif
h2 font-family: sans-serif
h3 font-family: sans-serif
is equivalent to:
h1,
Office Enterprise 2007, h2,
Microsoft Office Pro Plus, h3 font-family: sans-serif
Example(s):
The subsequent rule matches all H1 components inside the
document tree:
h1 font-family: sans-serif
Example(s):
For example,
Office 2010 Home And Student, think about the subsequent rules:
h1 color: red
em color: red
Although the intention of these principles is usually to add emphasis to text by
shifting its shade,
Office 2010 Home And Business, the effect will be lost in a scenario such as:
<H1>This headline is <EM>very</EM> important</H1>
We address this scenario by supplementing the previous policies with a
rule that sets the text colour to blue whenever an EM occurs anywhere
within an H1:
h1 color: red
em color: red
h1 em color: blue
The third rule will match the EM from the following fragment:
<H1>This <SPAN class="myclass">headline is <EM>very</EM> important</SPAN></H1>