Hello,
I am currently trying to create a navgiation bar which is usually seem at the bottom of most webpages. Is this difficult to do? I would be looking for one with lines between each link,
Regards,
Alex
Difficult to do? No.
<ul id="bottom-nav"><li><a hef="whatever.php">whatever</a></li><li class="last"><a hef="whatever2.php">whatever2</a></li></ul>
With this CSS -
ul#bottom-nav {
list-style-type:none;
overflow:hidden;
width:70%;
margin:0 auto;
}
ul#bottom-nav li {
float:left;
padding-right:10px;
border-right:1px solid #FFF;
}
ul#bottom-nav li.last {
border:none;
}
ul#bottom-nav a {
/* your styles here */
}
ul#bottom-nav li {
float:left;
padding-right:10px;
border-right:1px solid #FFF;
}
creates a white line between <li> items on a white page.
Changing the color is all that's needed
ul#bottom-nav li {
float:left;
padding-right:10px;
border-right:1px solid #333; /* adjust to any non-white color to suit */
}
North America
Europe, Middle East and Africa
Asia Pacific