40 users online (0 members and 40 guests)  


  Results 1 to 3 of 3

Related

  1. Help with a counter!!kinda-urgent!!!    Forum: General Discussion
    Replies: 1
  2. Advanced Browser ~ Do you know of it.    Forum: General Discussion
    Replies: 4
  3. Replies: 8
  4. Advanced Tables    Forum: HTML Forum
    Replies: 2
  1. #1
    bballboy's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2004
    Posts
    2

    Advanced linking... kinda

    This is kind of hard to explain, but I'll try my best... the other day, i was browsing the web, and saw a site that looked cool, so I view the source and saved it as a .html file on my hard drive. When I opened it up again, i relized i couldn't click a like and go anywhere, because it would send me to something like this:

    C:///index2.html
    I viewed the source and relised that all the linked we're formated like this:

    Code:
    <a href="/index2.html">
    I know there's a certain code I can put in the body or head part of the html (when I edit it), so that the links would go to the actual pages, rather then to immaginary pages on my hard drive.
    There are over 100 different links on this certain page, so It would be a pain changing them all to:

    Code:
    <a href="http://www.sitename.com/index2.html">
    Thanks ^_^

  2. #2
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there bballboy,

    and a warm welcome to these forums

    Place this line within the head section...
    Code:
    
    <base href="http://www.the_cool_website_that_you_vised.com/">
    
    coothead

  3. #3
    bballboy's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2004
    Posts
    2
    Ah, thank you so much, I knew it was something like that!



Tags for this Thread