
上QQ阅读APP看书,第一时间看更新
Styling the Navigation: #p-navigation
#p-navigation
identifies the div that contains the<h5>
header above the navigation links, and .pBody
, which includes an unordered list of wiki-wide navigation links. .pBody
is used elsewhere, so as to avoid unnecessary styling.

Table of Elements: #p-navigation
Each list item in the main navigation div has a unique id assigned to it:

#p-navigation
contains more than an unordered list of links that acts as the wiki's main navigation:
<div class='portlet' id='p-navigation'> <h5>Navigation</h5> <div class='pBody'> <ul> <li id="n-mainpage"><a href="/yourwiki/Main_Page" title="Visit the Main Page [z]" accesskey="z">Main Page</a></li> <li id="n-portal"><a href="/yourwiki/JazzMeet:Community_Portal" title="About the project, what you can do, where to find things">Community portal</a></li> <li id="n-currentevents"><a href="/yourwiki/Current_events" title="Find background information on current events">Current events</a></li> <li id="n-recentchanges"><a href="/yourwiki/Special:Recentchanges" title="The list of recent changes in the wiki. [r]" accesskey="r">Recent changes</a></li> <li id="n-randompage"><a href="/yourwiki/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li> <li id="n-help"><a href="/yourwiki/Help:Contents" title="The place to find out.">Help</a></li> <li id="n-sitesupport"><a href="/yourwiki/JazzMeet:Site_support" title="Support us">Donations</a></li> </ul> </div> </div>