I'm trying to find a way to have a two-color horizontal navigation area:
for example, a yellow background on the left half and a blue background
on the right half. I've tried using nested divs to divide a navbar area
into two regions with their own styling. It works, but, of course, this
falls
Robyn,
I guess you can go one of two ways:
Create two unordered lists and float them next to each other calling the
one red and the other yellow:
ul id=red-nav
li/li
li/li
/ul
ul id=yellow-nav
li/li
li/li
/ul
#red-nav, #red-nav ul {
position:relative;
float:left;
}
#yellow-nav,
Robyn M. Smith wrote:
I'm trying to find a way to have a two-color horizontal navigation area:
for example, a yellow background on the left half and a blue background
on the right half.
Robyn Smith
Simple is difficult. Complicated is easy. And if you are even nicer to
Opera, all /may/
Thanks to all.
Sorry if I'm looking for answers in the wrong place. I'm new to CSS and
perhaps don't use all the proper terms.
This is not a structural division. It's just a presentational issue.
I don't have a url, I've been testing locally. But to try and explain
what I mean: some sites have