Re: navigation banner in css.

Aloha,

> HTML:
> <div class="topnav">
> <a href="">Home</a>
> <a href="">About</a>
> <a href="">Services</a>
> <a href="">Resources</a>
> <a href="">Contact</a>
> </div>
> 
> CSS:
> 	.topnav a { display: block; float: left; width: 20%; text-align: 
> center; background-color: black; color: white; text-decoration: none; 
> font-family: Verdana, sans-serif; }

This technique is cool - but I like adding a <ul> container around the <a> so that it will display properly inside of lynx/older browsers.  (check out the menu on http://www.stopsevis.org for an example)


take care,
charles paul

Received on Wednesday, 22 January 2003 17:31:11 UTC