Bar at top?

Discussion in 'HTML & Website Design' started by Luke Beale, Jun 11, 2008.

  1. #1
    Hello,

    I want to create a network of websites.

    How would I go about putting a bar or something at the top which has links to other site sites in the network as well as the name of the network?
     
    Luke Beale, Jun 11, 2008 IP
  2. blktallos

    blktallos Active Member

    Messages:
    314
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Exscuse me if I am wrong. Are you talking about a Navigation bar that has link and those link's contain different website's? Or link that go to a different part of You're Website?
     
    blktallos, Jun 11, 2008 IP
  3. Luke Beale

    Luke Beale Peon

    Messages:
    2,115
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry if I wasn't clear :)

    I mean a Navigation bar at the top which links to different websites.
     
    Luke Beale, Jun 11, 2008 IP
  4. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Most people would consider a navigation bar as simply a list of links, so the html you would use could be,

    
    <ul id="top">
    <li>
    <a href="http://path">Link 1 </a>
    </li>
    <li>
    <a href="http://path2">Link 2 </a>
    </li>
    <li>
    <a href="http://path3"> Link 3 </a>
    </li>
    </ul>
    
    Code (markup):
    Then you would use some CSS to style that set of unordered lists.

    
    #top
    {
    line-height: 20px;
    background-color: red;
    }
    
    #top li
    {
    display: inline;
    }
    
    #top li a
    {
    color: #000000;
    }
    
    Code (markup):

    Something like that would make a horizontal menu, depending on where you place that in your HTML would depend on where it gets displayed.
     
    nicangeli, Jun 11, 2008 IP