Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

phadam

macrumors regular
Original poster
Jan 21, 2009
123
0
I am in the process of working on a page layout for a client but I am a little stuck. Client is pretty particular on what he wants. There are a total of three navigation menus and I have offered multiple times on trying to simplify things for him but no luck :( The second navigation has individual colors for each tab. I need to get a horizontal sub navigation in place with a background color that corresponds to that particular tab across the width of my main container between the navigation menu and the banner. Attached is a screen shot of what I was working with. Any help would be appreciated. Thanks :)
 

Attachments

  • Picture 4.png
    Picture 4.png
    103.1 KB · Views: 101
  • Picture 5.png
    Picture 5.png
    116.6 KB · Views: 84
Why not set a color to the corresponding class?

Code:
.engineering {
  background-color: blue;
}
 
My classes and id's were already set with the corresponding colors but maybe i missed something originally. Either way, I opted for the easy way out and just created a separate div class to be applied in place with a background color and new navigation :D Thanks for the help!
 
A separate div? You know you can have more than one class on an element, right?

Code:
<div class="engineering blueHeader">Yay</div>
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.