Log In · Register

 
Anchor tables
JonJonTheClown
post Sep 16 2009, 10:42 AM
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. :)
 
 
Start new topic
Replies (1 - 6)
ZeT0
post Sep 16 2009, 01:27 PM
Post #2


Senior Member
****

Group: Member
Posts: 253
Joined: Jul 2009
Member No: 739,898




This.
 
JonJonTheClown
post Sep 16 2009, 05:43 PM
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
 
fixtatik
post Sep 17 2009, 12:48 PM
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...
 
fixtatik
post Sep 18 2009, 01:14 AM
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.
 
fixtatik
post Sep 19 2009, 03:27 AM
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.
 
Mickey
post Sep 19 2009, 03:46 AM
Post #7


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Topic closed & moved.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: