www.webdeveloper.com
Results 1 to 3 of 3

Thread: <a href> Problem

  1. #1
    Join Date
    Jul 2013
    Posts
    1

    <a href> Problem

    Here's my html
    <div id="stylesheet_menu">
    <ul>
    <li><a href="indigenousaustralia.co">Home</a></li>
    <li><a class="current" href="archie.indigenousaustralia.co">Archie</a></li>
    <li><a href="">Matt</a></li>
    <li><a href="">Euan</a></li>
    <li><a href="">Harry</a></li>
    <li><a href="">Aaron</a></li>
    </ul>
    </div>

    So when i'm on the page archie.indigenousaustralia.co and try to go to home. It sends me to this URL instead
    http://archie.indigenousaustralia.co...usaustralia.co
    Any ideas on how to fix?
    Answers much appreciated

  2. #2
    Join Date
    Mar 2011
    Posts
    1,141
    When the 'href' value does not begin with the 'http://' protocol prefix, it is treated as a relative URL based on the location of the current page. Search on "html relative addressing" and you'll find some good advice.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Jul 2013
    Posts
    45
    I try your code and don't face any problem with this code. If you some problem than search on google. I don't face any problem so i can't solve.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles