Comment Help!!!, Centering, width and height. |
Comment Help!!!, Centering, width and height. |
Jan 5 2008, 10:06 AM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 36 Joined: Sep 2007 Member No: 569,383 |
Hiya.
Basically what I want to do is; Put my comments in a DIV scrollbox, but have the comments centered. Also I would like to cover the friend's pictures and names. I've tried everything- even the createblog suggestions. I've come SO close with this code. but not close enough. <div style="height:200px;width:350px;overflow:auto"> <table><tr><td><table><tr><td> <style> .friendsComments {position:right; top:0px; left:-200px; width:200px;} .friendsComments table {width:100%;} </style> </style></div> Please Help Me!!! |
|
|
|
![]() |
Jan 5 2008, 02:08 PM
Post
#2
|
|
![]() always<3. ![]() ![]() ![]() ![]() Group: Official Designer Posts: 242 Joined: Mar 2006 Member No: 387,714 |
your code is interesting...
CODE <style> .friendsComments{height:200px;width:350px;overflow:auto;text-align:center;} .friendsComments img{display:none;} .friendsComments tr td table tr td table tr td a{display:none;} .columnsWidening{width:474px;} </style> this hides the picture and the person's name. you don't need the div, the table, etc. just put this in your about me section or wherever. to center the comments, you can see i added "text-align:center;" you can change center to left or right or justify. remember to edit "474px" to whatever is most suitable for you. "columnsWidening" controls the width of the comment. i put that there because when you hide the picture and the name, there's a white space there. hope this helps. |
|
|
|
![]() ![]() |