Forums

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

Home Forums CSS Navigation .. borders? sorta.. css help Re: Navigation .. borders? sorta.. css help

#78208
cmoist
Member

That’s what I would do. I would use a border on the left and right of each button, then use a background image for the background of each button. This would mean that the separators would not be gradiated (<–what’s gradiated mean?), but it would be hard to notice.

Assuming your code looks something like this:

The CSS would look like this (in addition to all your current declarations):

Code:
ul li a {border-left: 1px solid #283711; border-right: 1px solid #48641d;}

You could even change the colors on the hover state if you’re inclined.