Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   Post Your Income Opportunities Here (http://www.freeadvertisingzone.com/forumdisplay.php?f=78)
-   -   Office 2007 Selectutorial Adjacent sibling select (http://www.freeadvertisingzone.com/showthread.php?t=1084715)

buisness0243 04-20-2011 10:01 AM

Office 2007 Selectutorial Adjacent sibling select
 
Adjacent sibling selectors
Adjacent sibling selectors will pick the sibling instantly following a component.

For example, you could want to goal an <h3> factor,Office 2007, but only <h3> elements that instantly follow an <h2> element. This is a commonly used illustration,Office 2010 Professional Plus, as it has a real-world application. There is often too much space between <h2> and <h3> elements when they appear quickly after each other. The code would be:
<body>
<h2>Heading 2 <em>text</em></h2>
<h3>Heading 3 text</h3>
<p>This is <em>text</em> and more <strong>text</strong></p>
</body>
The document tree would be:



Using the subsequent rule,Office Professional 2007, you can target any <h3> that follows an <h2>:
h2 + h3 margin: -1em;
Adjacent sibling selectors also work for inline elements such as <em> and <strong>



Using the subsequent rule,Office 2007 Enterprise, you can goal <strong> text that follows <em> text:
em + strong color: blue;
Adjacent sibling selectors are not supported by Windows Internet Explorer 5,Microsoft Office 2010 Key, 5.5 and 6, but are supported by most other standards-compliant browsers.
Further information W3C CSS2 Specification: Adjacent sibling selectors DevEdge CSS2 Selectors Support Chart WestCiv Selectors Support Chart
Attribute selectors &raquo;
Other Max Design articles and presentations
Associated with webstandardsgroup.org


All times are GMT. The time now is 07:21 AM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum