Sub Navigation Help with corresponding colors

Discussion in 'Web Design and Development' started by phadam, Oct 19, 2011.

  1. phadam macrumors regular

    Joined:
    Jan 21, 2009
    #1
    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 :)
     

    Attached Files:

  2. Laird Knox macrumors 68000

    Joined:
    Jun 18, 2010
    #2
    Why not set a color to the corresponding class?

    Code:
    .engineering {
      background-color: blue;
    }
     
  3. phadam thread starter macrumors regular

    Joined:
    Jan 21, 2009
    #3
    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!
     
  4. Laird Knox macrumors 68000

    Joined:
    Jun 18, 2010
    #4
    A separate div? You know you can have more than one class on an element, right?

    Code:
    <div class="engineering blueHeader">Yay</div>
     

Share This Page