Log In · Register

 
Friends & Comments Scrollbox in Div, Issues with codes of Friends and Comments in Div
eMarie2470
post Mar 5 2009, 05:45 PM
Post #1


Member
**

Group: Validating
Posts: 12
Joined: Jun 2007
Member No: 538,276



I've run into a problem. Someone contacted me for help about having their friends and comments in a boxed area with a scroll bar on their div layout. I figured I can help since I've done this many times before. BUT when I tried the code it didn't work (I haven't used that code in a while so I didn't know it wouldn't work). I didn't know what the problem was because I didn't see a reason why it wouldn't work.

Here's the Profile I'm working with (I've taken his codes and placed it on another profile.)

As you can see he wants the friends and comments to fit in the area on the bottom. I've tried to use this code

CODE
<div style="position:absolute;
left: 50%;
margin-left: -350px; _margin-left: -498px;
top:1571px;
width:710px;
height:455px;
background-color:transparent;
overflow:auto;
z-index:2; border="1">
<center><table><tr><td><table><tr><td><table><tr><td>

</td> </tr> </table> </DIV>
<div class="comt"><table><table>


...with it being placed on the bottom of the layout in the 'I'd Like To Meet' section. Before (for the past year or 2) this code has worked for me. I didn't see any other conflicts in coding with the rest of the codes. (you can view source for rest of code if you need to)

So, I've placed it in the myspace, save changes, and view profile and it still doesn't work. I try to go back into the edit and I look at the code again and it looks different to me. This is what it gave me

CODE
<div style="position:absolute;
left: 50%;
margin-left: -350px; _margin-left: -498px;
top:1571px;
width:710px;
height:455px;
background-color:transparent;
overflow:auto;
z-index:2; border=">
<center><table><tr><td><table><tr><td><table><tr><td>

</td> </tr> </table> </td></tr></table></td></tr></table></center></div>
<div class="comt"><table><table></table></table></div>


It seems to me that myspace seems to be adding or 'adjusting' codes on its own (kinda reminds me of Frontpage). I'm not sure if this is just a 'glitch' in the system or if its something myspace did purposely but I don't know if there is a way around this or not. I can't figure it out at all.
If anyone can help with this code or give me another working code that can do this the please Help. Not just for this guy, but for everyone who's doing this.

Thanks in advance for everything!
 
 
Start new topic
Replies
Mickey
post Mar 5 2009, 05:54 PM
Post #2


Treasure Pleasure
********

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



I just messed with my codes earlier and I experienced the same thing. It appears to me that MySpace automatically closes open table tags now. My only solution is for you to position the comments using its original class, like this:

CODE
<style>
.friendsComments {position:absolute; left: 50%; margin-left: -350px; _margin-left: -498px; top:1571px; width:710px; height:455px; background-color:transparent; overflow:auto; z-index:2;}
.friendsComments table, .friendsComments td, .friendsComments table td {width:100%;}
</style>

See if that code works as well for you as it did for me.
 
eMarie2470
post Mar 7 2009, 01:28 AM
Post #3


Member
**

Group: Validating
Posts: 12
Joined: Jun 2007
Member No: 538,276



This somewhat worked HERE IT IS ON THE SAMPLE

it got the codes in the general area, but the Friends are missing and there is no scroll bar. The overflow should be good and that's the only thing I can think of to fix it.
 

Posts in this topic


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