Anchor tables |
![]() ![]() |
Anchor tables |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 2 Joined: Sep 2009 Member No: 746,080 ![]() |
Ok well I've wondered this for the longest time. Are you able to use anchor tables on mypsace. I just wanted to find out before i tried. :)
|
|
|
![]()
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 253 Joined: Jul 2009 Member No: 739,898 ![]() |
This. |
|
|
![]()
Post
#3
|
|
Newbie ![]() Group: Member Posts: 2 Joined: Sep 2009 Member No: 746,080 ![]() |
here i'll write up a quick example
excuse the sloppiness of the code It might not be called that i was always told thats what its called CODE <style type="text/css">
.container { width: 500px; height: 500px; overflow: auto; overflow-y: hidden; border: 1px double #000000; } .section { height: 200px; overflow: auto; } </style> <table width="350px"><tr><td> <div style="overflow: auto; width: 100px; height: 200px; border: 3px double #999999;"> Profile Navagation <br><a href="#About Me">[ About Me ]</a> <br><a href="#Who I'd Like to meet">[ Who i'd like to meet ]</a> <br><a href="#My ninjas">[ Loathes ]</a> <br><a href="#The shit i listen to">[ Music shizz]</a> </div> </td><td> <div class="container"> <a name="About Me"></a> <div class="section"> <br><br> vgdfsgdfdfhhdf <br><br> </div> <a name="Who id like to meet"></a> <div class="section"> <br><br> ryrhgerherher <br><br> </div> <a name="My ninjas"></a> <div class="section"> <br><br> 254rg2r4er54re5g <br><br> </div> <a name="shit i listen to"></a> <div class="section"> <br><br> 4hgr4t24s4eh25erhy <br><br> </div> </div> </td></tr></table>
Reason for edit: Please put codes in codeboxes. Thanks. And LOLWTF@picture. -Natalia
|
|
|
![]()
Post
#4
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
^ He's talking about giving an element an anchor location. Clicking on <a href="#help">Help</a> takes you to <div id="help"></div> or <a name="help"></a>, wherever it may be on the page.
To the OP, as far as I know, yes you can do that. I'm sure it would have been much easier to just try it out for yourself instead of waiting a couple days for an answer... |
|
|
![]()
Post
#5
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
^ This. And to add on, you need to change all of them. Right now you have spaces. Doing "<a name="Who id like to meet"></a>" gives that anchor a name of "Who", "id", "like", "to", and "meet", which means the element linking to that would have to be called <a href="#Who">Who I'd like to meet</a>. Names & IDs shouldn't ever have spaces, because they're unique.
|
|
|
![]()
Post
#6
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
Yeah, underscores will work, as well as hyphens, or just removing the spaces altogether. I just meant if he kept it exactly as he has it now, only using <a href="#Who"></a> would work.
|
|
|
![]()
Post
#7
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Topic closed & moved.
|
|
|
![]() ![]() |