Easy (likely) CSS Navigation Question

Out of context: Reply #7

  • Started
  • Last post
  • 16 Responses
  • BattleAxe0

    if I understand your question, you are trying to find a way to save 3 different styles for a navigation menu , you want each available at the same time. is this correct?

    if so lets say you want to show 3 navigation menus , but each look a bit different

    for examples a top navigation, a left navigation and footer navigation , since they are in 3 different parts of the layout, I will use 3 identifiers to distinguish them from one another , so in my style sheet I have 3 IDs
    #topNav {}
    #leftNav {}
    #footNav{}

    each looking all snazzy and stuff

    then in my HTML

    i have to refrence them with an ID attribute

    so

    <div id="topNav"></div>

    <div id="leftNav"></div>

    <div id="footNav"></div>

    hope that helps

View thread