Help - Search - Members - Calendar
Full Version: Help on comment table
Forums > Resource Center > Support Center > MySpace Support > Myspace Resolved Topics
umbr3ll4
I'm trying to get it to where my comments are a scroll-down table.
I thought it was scripted correctly, but it apparently isn't. It just shows the comments without a table, thus making my page really long.

What is wrong with my code?

CODE
<div class="comments" style="position: absolute; top:1193px; left:685px;  height: 190px; width: 500px; border-color: A3AED9; border-width: 0px; border-style: solid;">
<table><tr><td><table><tr><td>
</div>


Thanks.
-Chris
Infinite.
Okay, so you want your comments to be in a scroll box, correct?
But do you want to be able to move your comments to another place or have them located where they originally are supposed to be?

Want to move your comments anywhere on the screen:
About me:
CODE
<style>.comments{visibility:visible;width:397px; height:180px;position:absolute;
top:680px;left:415px;
overflow:auto;background-color:transparent;
border:black 0px solid;z-index:2px;}</style>

^Change the left and top numbers to change the positioning and change the width and height for how big you would like the section of your comments visible.

Who I'd Like to Meet: - put this in that section.
CODE
<div class="comments"><table><tr><td><table><tr><td>



Just have your comments in a scrollbox on an oridinary layout:
http://www.createblog.com/scripts/download.php?id=262
bigtrey90
so you are trying to make your comments scroll?
umbr3ll4
Okay, cool. That works.

Now I have another problem: the font in the comments are black; how do I change that, just put color:#FFFFFF; in the script somewhere? If so, where?
freeflow
^ You can't add "#" signs on myspace.

QUOTE
.comments{visibility:visible;width:397px; height:180px;position:absolute;
top:680px;left:415px;
overflow:auto;background-color:transparent;
border:black 0px solid;z-index:2px;color: ffffff;}
umbr3ll4
Hm, well, doesn't seem like it works.

CODE
<style>.comments{visibility:visible;width:500px; height:190px;position:absolute;
top:1193px;left:685px;
overflow:auto;background-color:transparent;
border:black 0px solid;z-index:2px;color: ffffff;}
</style>


Is this correct?
Infinite.
^may I have your myspace link, it may just be because you have a layout on your myspace as well.

Are you trying to change the background color to white or the text of the comments?

If your trying to change the background color do this:
CODE
<style>.comments{visibility:visible;width:500px; height:190px;position:absolute;
top:1193px;left:685px;
overflow:auto;background-color:ffffff;
border:black 0px solid;z-index:2px;}
</style>
umbr3ll4
http://www.myspace.com/calaphi

I'm trying to change the text of the comments to A3AED9, which is a light-blueish color.
I just used white because I couldn't remember the color code offhand.

Oh, if this'll be better, here are the scripts:

About me:
CODE
<img src="http://img399.imageshack.us/img399/5606/bkgrdyw2.png" width="586" height="1065" border="0" alt="" usemap="#myspace2_Map">
<map name="myspace2_Map">
<area shape="poly" alt="Pics2" coords="271,173, 374,147, 407,275, 305,307" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=134109649">
<area shape="poly" alt="Pics" coords="403,297, 448,288, 455,307, 412,315" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=134109649">
<area shape="poly" alt="Friends" coords="352,311, 397,302, 404,321, 361,329" href="http://home.myspace.com/index.cfm?fuseaction=user.viewfriends&friendID=134109649">
<area shape="poly" alt="Comment" coords="292,325, 337,316, 344,335, 301,343" href="http://www.myspace.com/index.cfm?fuseaction=user.viewComments&friendID=134109649">
<area shape="poly" alt="Block" coords="238,339, 283,330, 290,349, 247,357" href="http://collect.myspace.com/index.cfm?fuseaction=block.blockUser&userID=134109649">
<area shape="poly" alt="Msg" coords="184,353, 229,344, 236,363, 193,371" href="http://mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=134109649">
<area shape="poly" alt="Add" coords="126,369, 171,360, 178,379, 135,387" href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=134109649">
<area shape="poly" alt="Home" coords="73,383, 118,374, 125,393, 82,401" href="http://home.myspace.com/index.cfm?fuseaction=user">
<area shape="rect" alt="Friends2" coords="259,526,322,545" href="http://home.myspace.com/index.cfm?fuseaction=user.viewfriends&friendID=134109649">
<area shape="rect" alt="Argenis" coords="476,690,540,777" href="http://www.myspace.com/84054383">
<area shape="rect" alt="Trisha" coords="476,561,539,657" href="http://www.myspace.com/34038930">
<area shape="rect" alt="Sarah" coords="403,737,465,807" href="http://www.myspace.com/10892645">
<area shape="rect" alt="Jenna" coords="315,726,389,794" href="http://www.myspace.com/86023172">
<area shape="rect" alt="Dane" coords="394,633,456,701" href="http://www.myspace.com/76230011">
<area shape="rect" alt="Nicole" coords="389,545,456,624" href="http://www.myspace.com/19255054">
<area shape="rect" alt="Jeff" coords="296,561,374,639" href="http://www.myspace.com/131262457">
<area shape="rect" alt="Ward" coords="209,551,291,620" href="http://www.myspace.com/16771965">
<area shape="rect" alt="Sharlee" coords="305,645,375,716" href="http://www.myspace.com/17007213">
<area shape="rect" alt="Destiny" coords="221,629,288,725" href="http://www.myspace.com/22467711">
<area shape="rect" alt="Ryan" coords="145,651,209,717" href="http://www.myspace.com/74289673">
<area shape="rect" alt="Tim" coords="125,567,199,645" href="http://www.myspace.com/30924347">
<area shape="rect" alt="Patrick" coords="47,541,118,629" href="http://www.myspace.com/70216913">
<area shape="rect" alt="Leek" coords="247,730,305,823" href="http://www.myspace.com/17107980">
<area shape="rect" alt="Leek" coords="179,732,242,823" href="http://www.myspace.com/129786808">
<area shape="rect" alt="Cory" coords="112,742,175,823" href="http://www.myspace.com/105412862">
<area shape="rect" alt="Frank" coords="39,726,108,794" href="http://www.myspace.com/38759109">
<area shape="rect" alt="Rick" coords="47,645,119,718" href="http://www.myspace.com/38982904">
</map>

<style type="text/css">
table table,table table table table,table table{background-color:transparent;width:;border:0px;}
div,table,tr,td,th{background-color:transparent;text-align:left;border:0px;}
a.navbar,font,.whitetext12,.btext,.orangetext15,.redbtext,.redtext,.blacktext12,
lightbluetext8,strong,.nametext,div b font font, div font font u,table table table table, table.contacttable{display:none;}

td.text table table {display:inline; visibility:visible;}
td td object {position:absolute; left:0px; top:0px; display:block; width:0px; height:0px;}

a.text,table div font a,table div div,.navbar font,tr td font{visibility:hidden;display:none;height:0px;!important;}

.a {hide friends not comments}
td.text td.text table table table,
td.text td.text table .orangetext15,
td.text td.text .redlink,
td.text td.text .btext {display:none;}
td.text td.text table td, td.text td.text table {height:0; padding:0; border:0;}
td.text td.text table {background-color:transparent!important;}
body div table td form{display:none;}
{resizing images for friends space}
td.text td.text table table table td a img {width:80px;}
{resize the online now icon to normal size}
td.text td.text table table td img {width:260px; max-width:260px; width:auto;}
td.text td.text table table td a img {width:90px; max-width:260px; width:auto;}
td.text td.text table table td div img {width:80px;}
* html td.text td.text table table td img {width:260px;}
* html td.text td.text table table td a img {width:90px;}
* html td.text td.text table table td div img {width:80px;}
td.text td.text table table table td div img {width:80px;}
</style>

<style type="text/css">
table, tr, td { background-color:transparent; border:0px none; }
body {
    background-color:000000;
background-image:url('');
        background-position: top left;
        background-repeat:repeat;
        background-attachment:fixed;
        scrollbar-face-color:A3AED9;
    scrollbar-highlight-color:FFFFFF;
    scrollbar-3dlight-color:000000;
    scrollbar-shadow-color:FFFFFF;
    scrollbar-darkshadow-color:000000;
    scrollbar-arrow-color:000000;
    scrollbar-track-color:000000;
        }
div{
  font-family: verdana;
  font-size: 8pt;
  color: 000000;
  text-align: left;
  border: medium none;
  padding-left: 3px;
  padding-right: 3px;
  line-height: 12px;
overflow-x: hidden;}

input, select, textarea, .textfield, .button {
  font-family: verdana;
  font-size: 8pt;
  color: ffffff;
  border-style:solid;
  border-size: 1px;
  border-color: ffffff;
  background-color: 000000;
  text-align: left;}

.header {
visibility: visible;
font-family: "times";
color: A3AED9;
text-align:left;
font-size: 20px;
letter-spacing:-1px;
text-transform: none;
line-height:16px;
font-weight: normal;
border-bottom: 0px dashed;
border-color:none;}

.header2 {
display: block;
visibility: visible;
font-family: "times";
color: 000000;
text-align:right;
font-size: 20px;
letter-spacing:-1px;
text-transform: none;
line-height:16px;
font-weight: normal;
border-bottom: 1px dashed;
border-color:A3AED9;}

.text {
  font-family: verdana;
  font-size: 8pt;  
  color: A3AED9;
  font-weight: normal;
  text-align: left;
  background-color: none;}


b, strong {
  font-family: verdana;
  font-size: 8pt;
  color: A3AED9;
  font-weight: bold;}

i, em, s {
  font-family: verdana;
  font-size: 8pt;
  color: 000000;}

u {
  font-family: verdana;
  font-size: 8pt;
  color: 000000;}

a, a:link, a:active, a:visited {
  font-family: verdana;
  font-size: 8pt;
  color: 000000;
  text-decoration: none;
  font-weight: bold;}
  
a:hover {
  font-family:verdana;
  font-size:8pt;
  color:A3AED9;
  background-color: ffffff;}

a:link img, a:visited img {filter: none;border:0px}
</style>

<style>.comments{visibility:visible;width:500px; height:190px;position:absolute;
top:1193px;left:685px;
overflow:auto;background-color:transparent;
border:black 0px solid;z-index:2px;color:ffffff;}
</style>


Meet:
CODE
<style>.r{}</style>

<center><embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="http://www.myflashfetish.com/myflashfetish-mp3-player.swf?myid=1130735&mycolor=0xa3aed9&mycolor2=0x2d3a68&autoplay=true&rand=1" menu="false" quality="best" scale="noscale" bgcolor="#ffffff" wmode="transparent" width="218" height="45" name="MyFlashFetish.com" style="position:absolute; left:977px; top: 675px; z-index:9;"  allowScriptAccess="never" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></center>


<div class="about">
<form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"><input name="friendID" value="134109649" type="hidden"><textarea name="f_comments" class="pnckdbox"></textarea><br/><input type="submit" value="submit" class="pnckdcom"></form><br>

<style type="text/css"> textarea.pnckdbox { color: A3AED9; font-family: small fonts; font-size: 8px; text-transform: uppercase; font-weight: normal; letter-spacing: 3px; text-align: left; position: absolute; top:767px; left:687px; height: 48px; width: 210px; border-color: A3AED9; border-style: solid; border-width: 1px; background-color: transparent; } input.pnckdcom {color: A3AED9; font-family: small fonts; font-size: 8px; text-transform: uppercase; font-weight: normal; letter-spacing: 3px; text-align: center; background-color: transparent; position: absolute; top:821px; left:687px;  height: 18px; width: 210px; border-color: A3AED9; border-width: 1px; border-style: solid; } </style></center>

</div>

<div class="misc">
</div>

<div class="friends">
<center>
</center>
</div>

<div class="comments"><table><tr><td><table><tr><td></div>
freeflow
QUOTE
<style>.comments{visibility:visible;width:500px; height:190px;position:absolute;
top:1193px;left:685px;
overflow:auto;background-color:transparent;
border:black 0px solid;z-index:2px;color:ffffff;}
</style>


Just change color:ffffff;
to color:A3AED9;
umbr3ll4
If something as obvious as that would fix it, I would've done it already. For some reason, it isn't working like that. Okay, well, that won't kill me. I just discovered I have yet another thing wrong with this.

I'd prefer that the whole page be centered and not offset to the right like it is, but that won't kill me either. One thing that is really bugging me is how the positioning changes with browsers as follows:

On Firefox:


On Internet Explorer:


It's the same exact code and all, so why is it different? Is this unfixable?
The code is in my previous post.

Thanks for your help, all.
-Chris.
clarity
^ I believe that because they are different browsers, they're going to have different coordinates, or something.

It's just like some scripts work in I.E while they don't work in firefox.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.