The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Navigation help appreciated Re: Navigation help appreciated


In basic terms, you will have a header element (div or header).

Inside that you will have a menu (ul or nav) and that will be floated to the right.

As for the background color of the list item changing once clicked there are a couple of ways to do that.

One is will JS to apply an ‘active’ class to that list item.

The other is to apply a class to the body of each page and then use a css to define the properties based on that class.