View Full Version : Anchor
The Red Guy
June 17th, 2002, 05:58
1) I have nav.php and index2.php (using php include). I want a link that can link to an anchor to the top of the page. Do I insert an anchor at the top of the page into index2.php or nav.php?
2) Does anyone know how I can create an anchor?
biggulp
June 17th, 2002, 06:44
1) use it on nav.php
2) An anchor is <a href="......">. To use it just replace the ...... with your own link
The Red Guy
June 17th, 2002, 07:45
1) (Another question) How do I link to my css file on nav.php? I have /myfile.css and nav.php on /php/nav.php. How do I link, using ../myfile.css or myfile.css ? I'm using php include to include nav.php onto /index2.php.
2) How do I insert the anchor (not the link).
biggulp
June 18th, 2002, 04:43
1)<LINK REL="stylesheet" HREF="/yourcss.css" TYPE="text/css">
2)an anchor is a <A>, to insert it just type it into your html file.
w3exit
June 22nd, 2002, 12:54
Just create a "back to top" link like
<a href="#top">back to top</a>
Insert an anchor for #top at the top of the page. viola!
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.