Simple MySpace CSS code to hide some of your MySpace comments
Question:
Here is a bit more difficult one: I want to hide some comments on myspace. Only the first two comments should be visible in my MySpace profile. All other comments should be hidden. BUT i want to keep the number of comments visible as well as the View all and Add Comment links. Is it possible to accomplish this?
Answer:
You bet. hiding all comments but two of them is doable, although it might require a bit of tweaking. Here’s what i recommend you to do (Tested in Internet Explorer):
1. Login to myspace.com.
2. Click Edit Profile.
3. Insert the code below at the BOTTOM of the I’d Like to Meet section.
<style>
.friendsAndComments {overflow:hidden; height:500px;
width:435px;}.friendsAndComments table {width:100%;}
</style></td></tr></table>
</td></tr></table>
<div class="friendsAndComments">
<table style="display:none;"><tr><td>
<table><tr><td>
4. Preview your profile. You might need to adjust the hegiht of the Comments table. In order to do that, simply change its height value from 500 to a different value.
5. Save your changes. That’s it!
Update: Alternatively, you would like to create your custom comment box. If so, you can use our Comment box generator. Enjoy
Want to easily customize your MySpace profile? You can find hundreds of codes at our MySpace codes and MySpace generators and tweaks sections.
Feel free to look into these related tips:
- Hide Comments
- Hiding some of your MySpace comments
- Remove view all comments without hiding add comments link
Posted by Gili
Like this post? Become a regular and share it with others!

The only problem with that is when it cuts off text, like it’s doing for me.
[...] might want also to look into the tutorial on how to hide only some comments on MySpace and on how to put MySpace comments in a scroll box. Enjoy! People who visited this page [...]
Hi i tried your code to show only 1 or 2 comments on myspace and its not working it just hides all my comments and ive tried many codes but none help please help me fast | sighned: confused
i keep trying to enter this code, and it doesn’t hide ANY of my comments. i wanna hide all but 2 of them and still have the “add comments” and “view all” link. i might just have to settle for hiding them all, but if u could help me out that’d be great.
hey umm i was wondering if there is a way to have veiw all comments link, i have already hidden them. =] hope some1 can help
thanks
Take a look at: http://www.avirtualexit.com/2008/03/30/hide-view-all-comments-link-2/
It has the codes you need.
Gili
Is there anyway you can keep your comments but hide who they are from?
I would like to show 5 friends comments and hide view all comments,is this possible? can you help me with this?
Is it possible to make your friends and or your comments only visiable to Friends without making your Myspace profile private. Please let know know… I’d love to know the answer.
its not working =( it just hides all my comments. helppp needed desperatley. thanks =)
I would like to show 5 friends comments and hide view all comments,is this possible? can you help me with this?
See all the codes to hide some comments have to be put at the bottom of your who id like to meet.everytime I put it there it makes the background behing my friends black.
is it possible to hide my friend’s comments posted on my photo albums?