Help - Search - Members - Calendar
Full Version: Resizing pics in comments help
Forums > Resource Center > Support Center > MySpace Support > Myspace Resolved Topics
transam400
I'm using the code thats in the scripts section to resize pictures people post in your comments. The code works fine, I put it in about me, but it resizes my friend list and their pictures to the same size. How can I keep my top 8 the same size but resize the pictures left in comments? Any help would be appreciated. Thanks
digital.fragrance
can you post the code please? and a link to your myspace?
transam400
Heres the code from this site:

<style>
body table tr table tr td.text table tr td.text table tr td table tr td a img {width:auto;}
body table tr table tr td.text table tr td.text table tr td table tr td a > img {width:400px;}
body table tr table tr td.text table tr td.text table tr td table tr td img {width:400px;}
body table tr table tr td.text table tr td.text table tr td table tr td:first-child a img {width:auto;}
body table tr table tr td.text table tr td.text table tr td table tr td div img {width:80px; height:20px;}
</style>



Heres my about me code: The only section with code

<style type="text/css">
table table table td {vertical-align:top ! important;} span.blacktext12 { visibility:visible !important; background-color:transparent; background-image:url("http://img.photobucket.com/albums/v480/allisterfiend15/5747bf26.gif"); background-repeat:no-repeat; background-position:center center; font-size:0px; letter-spacing:-0.5px; width:435px; height:75px; display:block !important; } span.blacktext12 img {display:none;}

Table, Td{background-color:transparent;border-style:none;}
table table td{width:100%;}
table table table table td{width:auto;}
table table table{width:100%;

body table tr table tr td.text table tr td.text table tr td table tr td a img {width:auto;}
body table tr table tr td.text table tr td.text table tr td table tr td a > img {width:400px;}
body table tr table tr td.text table tr td.text table tr td table tr td img {width:400px;}
body table tr table tr td.text table tr td.text table tr td table tr td:first-child a img {width:auto;}
body table tr table tr td.text table tr td.text table tr td table tr td div img {width:80px; height:20px;}

tr {background:transparent;}
body table div font a, body table div div {visibility:hidden;}
body table table div font a, body table table div div {visibility:hidden;}

body div table tbody tr td font {visibility:hidden;}
body table div table tbody tr td font,
.navbar {visibility:visible;}
.navbar font {visibility:hidden;}

table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-color:000000;
background-image:url('http://img.photobucket.com/albums/v480/allisterfiend15/820d6f25.jpg');
background-attachment: fixed;
background-position:center center;
background-repeat:no-repeat;
scrollbar-face-color:000000;
scrollbar-highlight-color:FF2222;
scrollbar-3dlight-color:000000;
scrollbar-shadow-color:FF2222;
scrollbar-darkshadow-color:000000;
scrollbar-arrow-color:FF2222;
scrollbar-track-color:000000;
}


table table { border: 0px }
table table table table{border:0px}
table table table {
border-style:solid;
border-width:1px;
border-color:888888;
background-color:transparent;
}


table, tr, td, li, p, div { font-family:tahoma; color:888888; font-size:10px; font-weight:bold; }
.btext { font-family:tahoma; color:888888; font-size:10px; }
.blacktext10 { font-family:tahoma; color:888888; font-size:10px; }
.blacktext12 { font-family:tahoma; color:380000; font-size:10px; }
.lightbluetext8 { font-family:tahoma; color:FF2222; font-size:10px; }
.orangetext15 { font-family:tahoma; color:FF2222; font-size:10px; }
.redtext { font-family:tahoma; color:888888; font-size:10px; }
.redbtext { font-family:tahoma; color:FF2222; font-size:11px; }
.text { font-family:tahoma; color:888888; font-size:10px; }
.whitetext12 { font-family:tahoma; color:888888; font-size:10px; }
a:active, a:visited, a:link { font-family:tahoma; color:FF2222; font-size:10px; }
a:hover { font-family:tahoma; color:888888; font-size:10px; }
a.navbar:active, a.navbar:visited, a.navbar:link { font-family:tahoma; color:FF2222; font-size:10px; }
a.navbar:hover { font-family:tahoma; color:888888; font-size:10px; }
a.redlink:active, a.redlink:visited, a.redlink:link { font-family:tahoma; color:FF2222; font-size:10px; }
a.redlink:hover { font-family:tahoma; color:888888; font-size:10px; }
.nametext { font-family:tahoma; color:888888; font-size:10px; }

body { cursor:crosshair;}
a:hover { cursor:crosshair;}
</style>
transam400
Anyone?
transam400
bump
freeflow
Your missing a } which is making it not work .

table table table{width:100%;
Should be
table table table{width:100%;}
transam400
thanks for the reply, but that didnt' work. I switched the code to the one I found on this site, and I changed the numbers and the images won't shrink. Any other suggestions? heres the updated code in the about me section:




<style type="text/css"> table table table td {vertical-align:top ! important;} span.blacktext12 { visibility:visible !important; background-color:transparent; background-image:url("http://img.photobucket.com/albums/v480/allisterfiend15/5747bf26.gif"); background-repeat:no-repeat; background-position:center center; font-size:0px; letter-spacing:-0.5px; width:435px; height:75px; display:block !important; } span.blacktext12 img {display:none;}</style></a>




<style type="text/css">

Table, Td{background-color:transparent;border-style:none;}
table table td{width:100%;}
table table table table td{width:auto;}
table table table{width:100%;}




body table tr table tr td.text table tr td.text table tr td table tr td a img {width:auto;}
body table tr table tr td.text table tr td.text table tr td table tr td a > img {width:100px;}
body table tr table tr td.text table tr td.text table tr td table tr td img {width:100px;}
body table tr table tr td.text table tr td.text table tr td table tr td:first-child a img {width:auto;}
body table tr table tr td.text table tr td.text table tr td table tr td div img {width:80px; height:20px;}



tr {background:transparent;}
body table div font a, body table div div {visibility:hidden;}
body table table div font a, body table table div div {visibility:hidden;}


body div table tbody tr td font {visibility:hidden;}
body table div table tbody tr td font,
.navbar {visibility:visible;}
.navbar font {visibility:hidden;}





table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-color:000000;
background-image:url('http://img.photobucket.com/albums/v480/allisterfiend15/47f16cde.jpg');
background-attachment: fixed;
background-position:center center;
background-repeat:no-repeat;
scrollbar-face-color:101010;
scrollbar-highlight-color:EE2222;
scrollbar-3dlight-color:101010;
scrollbar-shadow-color:FF2222;
scrollbar-darkshadow-color:101010;
scrollbar-arrow-color:EE2222;
scrollbar-track-color:101010;
}



table table { border: 0px }
table table table table{border:0px}
table table table {
border-style:solid;
border-width:1px;
border-color:888888;
background-color:transparent;
}




table, tr, td, li, p, div { font-family:tahoma; color:888888; font-size:10px; font-weight:bold; }
.btext { font-family:tahoma; color:888888; font-size:10px; }
.blacktext10 { font-family:tahoma; color:888888; font-size:10px; }
.blacktext12 { font-family:tahoma; color:380000; font-size:10px; }
.lightbluetext8 { font-family:tahoma; color:FF2222; font-size:10px; }
.orangetext15 { font-family:tahoma; color:FF2222; font-size:10px; }
.redtext { font-family:tahoma; color:888888; font-size:10px; }
.redbtext { font-family:tahoma; color:FF2222; font-size:11px; }
.text { font-family:tahoma; color:888888; font-size:10px; }
.whitetext12 { font-family:tahoma; color:888888; font-size:10px; }
a:active, a:visited, a:link { font-family:tahoma; color:FF2222; font-size:10px; }
a:hover { font-family:tahoma; color:888888; font-size:10px; }
a.navbar:active, a.navbar:visited, a.navbar:link { font-family:tahoma; color:FF2222; font-size:10px; }
a.navbar:hover { font-family:tahoma; color:888888; font-size:10px; }
a.redlink:active, a.redlink:visited, a.redlink:link { font-family:tahoma; color:FF2222; font-size:10px; }
a.redlink:hover { font-family:tahoma; color:888888; font-size:10px; }
.nametext { font-family:tahoma; color:888888; font-size:10px; }


.contactTable {width:330px !important; height:150px !important; padding:0px !important;background-image:url("http://img.photobucket.com/albums/v480/allisterfiend15/a5e6ccfc.gif");background-attachment:scroll; background-position:center center;background-repeat:no-repeat; background-color:transparent;}.contactTable table, table.contactTable td { padding:0px !important;border:0px; background-color:transparent; background-image:none;}.contactTable a img {visibility:hidden; border:0px !important;}.contactTable a {display:block; height:28px; width:115px;}.contactTable .text {font-size:1px !important;}.contactTable .text, .contactTable a, .contactTable img {filter:none !important;}


body { cursor:crosshair;}
a:hover { cursor:crosshair;}
</style>
transam400
Can anyone help me? My page is way stretched out because of a picture in the comments, and I would like to fix it.
crystal_deanda84
did you mess with the widths already?
transam400
Yes, and the picture stayed the same no matter what number I put in there.
transam400
bump
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.