TravelTech
01-26-2010, 02:09 PM
Howdy. I have 4 groups of lists for navigating to an administration area. These groups are displayed to users according to level of membership. For example, if a user is just a viewer that want's to comment but can have a profile they will have only one group displayed to them. If a user is an administrator they have all 4 groups of navigation choices available. I would like to have these groups across the top of the page and centered where there is only one or all 4 groups are showing. Not stacked but horizontal.
This code is from the first group and there are 4 more similar groups that can be displayed depending on user status. I can get them to center but they are stacked. Maybe I have to use php or javascript. Thanks for any suggestions.
<div class="nav_group">
<h2>General</h2>
<ul class="a">
<li> Dashboard</li>
<li>Edit Profile</li>
<li>Comments</li>
<li>Log out</li>
</ul>
<h2>Display</h2>
<ul class="b">
<li>Site Wrapper</li>
<li>View Members</li>
<li>Upload Avatar</li>
<li>Log out</li>
</ul>
</div>
This code is from the first group and there are 4 more similar groups that can be displayed depending on user status. I can get them to center but they are stacked. Maybe I have to use php or javascript. Thanks for any suggestions.
<div class="nav_group">
<h2>General</h2>
<ul class="a">
<li> Dashboard</li>
<li>Edit Profile</li>
<li>Comments</li>
<li>Log out</li>
</ul>
<h2>Display</h2>
<ul class="b">
<li>Site Wrapper</li>
<li>View Members</li>
<li>Upload Avatar</li>
<li>Log out</li>
</ul>
</div>