Log In · Register

 
Div Link Problems
M3L
post Jul 20 2006, 11:51 PM
Post #1


Member
**

Group: Member
Posts: 13
Joined: May 2006
Member No: 411,996



I did the Coding for My div Layout, and when put the final up the links all work in IE (internet Explorer) but they dont work in Firefox, can somone help me fix this problem? i have no clue what it is!

This is the code im Using

CODE
<div class="content" style="position: absolute; left:455px;  top:787px; width:120px; height:231px; overflow: auto;"><left>
<center><a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=3907722" target="_parent">Add As Friend</a></center>
</div>


^thats the add friend button


CODE
<div class="content" style="position: absolute; left:540px;  top:787px; width:120px; height:231px; overflow: auto;"><left>
<center><a href="http://mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=3907722" target="_parent">Message<br>Me</a></center>
</div>



^Thats The Message me Button

the codes are the same so i cant figure out what teh problem is!?!?!! anyone?!


So say the add me button works, but the others dont work...such as comment me, add to favs, message me. etc.
 
 
Start new topic
Replies (1 - 6)
freeflow
post Jul 21 2006, 12:03 AM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Get rid of the <left> tag. See if that fixes it. If you open a tag you need to close it. You left left open .. in each div.
 
M3L
post Jul 21 2006, 05:38 AM
Post #3


Member
**

Group: Member
Posts: 13
Joined: May 2006
Member No: 411,996



That doesnt matter, thats just alignment...


but i tried it anyways, and it still didnt work...


Also another problem, The Scroll bar code i have doesnt work either, yet again works in IE, But not Firefox..
 
freeflow
post Jul 21 2006, 01:38 PM
Post #4


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



My other suggestions are
- Add z-indexes. In the div code before teh "> add z-index: #; . For the # add any number. A different one for each div.

- Then change the word "content" to a different word. Don't make them all say content give them something else.

If it still doesn't work post all of your codes.


But anyways . You have to close tags.. It can mess up other codes in the future. pinch.gif
 
M3L
post Jul 21 2006, 09:11 PM
Post #5


Member
**

Group: Member
Posts: 13
Joined: May 2006
Member No: 411,996



could you give me an example? im not understanding this at all..
 
freeflow
post Jul 21 2006, 09:15 PM
Post #6


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Z index Example:
<div class="content" style="position: absolute; left:455px; top:787px; width:120px; height:231px; overflow: auto;z-index: 1"><left>
<center><a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=3907722" target="_parent">Add As Friend</a></center>
</div>
Look at the bold. Add a diff number for each one.

New div name example:
From:
CODE
<div class="content" style="position: absolute; left:455px;  top:787px; width:120px; height:231px; overflow: auto;"><left>
<center><a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=3907722" target="_parent">Add As Friend</a></center>
</div>


to
CODE
<div class="CHOOSEANAME" style="position: absolute; left:455px;  top:787px; width:120px; height:231px; overflow: auto;"><left>
<center><a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=3907722" target="_parent">Add As Friend</a></center>
</div>


Where it says choose aname choose any name. If it still doesn't work post the code.
 
M3L
post Jul 21 2006, 09:28 PM
Post #7


Member
**

Group: Member
Posts: 13
Joined: May 2006
Member No: 411,996



Haha Yes It Worked! Thanks So Much!
 

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