| How to add a scroll to your comment section |
|
I have been asked by many on how to put the comment section as a scroll. well it is really very simple.
You have to have a layout you created yourself to edit.
Go to your advanced layout editor: Advanced Editor
If you already have layout code you want to use, or you're comfortable editing style sheets this is what you want to use.
Click on edit on which layout you prefer. At the top of the style sheet there will a <style> click behind the <style>...... hit enter a couple times.. copy and paste this code in the area.....
.commentstable { height:500px; display:block; overflow-y:auto; overflow-x:auto; } td.comments1 img { max-width:50px; max-height:50px; padding:0!important; background:none; } td.comments2 img { width:200px; height:auto; } td.comments2, td.comments3 { width:340px; display:block; }
Save the template and go back and ckick "use this template. Presto!! you now have a scroll comment section you can also use the same code... the same way to make you blogs a scroll. just replace the "commentstable to blogtable.
|
| Posted: 7/2/2008 at 20:33 | Read 272 times | 16 comments | Leave Comment |
|