Web design help

Out of context: Reply #9

  • Started
  • Last post
  • 16 Responses
  • slappy0

    ok well you can drop the menu into an unordered list and then use add the spacing in the style sheet.

    so like
    <ul id="nav">
    <li><a href="LinkGoesHere">Home</a></li>
    <li><a href="LinkGoesHere">About</a></li>
    <li><a href="LinkGoesHere">Work</a></li>
    <li><a href="LinkGoesHere">Contact</a></li>
    </ul>

    Then in your style sheet
    #nav ul {
    list-style-type: none;
    }

    #nav ul li {
    float:left;
    padding-left:11px;
    }

    #nav ul a {
    color:#f00;
    text-decoration:none;
    }
    #nav ul a:hover {
    color:#fff;
    text-decoration:none;
    }

    or something to that effect.

    • :S i havent used a style sheet..rybo
    • its in your html pageWeLoveNoise
    • EXACTLY!rybo
    • waaaaaaaaaaaaaaaaaaa... runs offrybo
    • Oh right, um, you should use a style sheet.slappy
    • or add the style sheet code to the other classes in your html page.slappy

View thread