| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Simple Scrollbar in posts | |
|---|---|
| Tweet Topic Started: Mar 4 2010, 06:40 AM (215 Views) | |
| Dan_crossy | Mar 4 2010, 06:40 AM Post #1 |
|
Member
![]() ![]() ![]()
|
Board Address: http://z10.invisionfree.com/359th_Battle_Group/ Type of Request: Addon Description: Not sure if anyone is able to help out here, i did use the search function however didnt come up with anything. I'm looking for a code that allows me to add a scrollbar to the posts in my forum, atm if someone posts a big picture it warps the whole forum. I would like to be able to scroll around the post (up, down, left and right) if possible. Also im trying to change the font colour to white if anyone has any ideas. Thanks in advance... Dan |
![]() |
|
| Pete B-ZNR | Mar 4 2010, 04:43 PM Post #2 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
Hi Dan, You could automatically resize large images if you want. Add this to the end of your Style Sheets. .postcolor img { max-width:500px; max-height:500px; } ...and you can adjust the pixel values as you need to. Only problem is it will not preserve the ratio and so images might look weird if they're particularly thin or tall. However, if you want to add the scrollbars, you can add this to the end of your style sheets instead: .postcolor { max-width:500px; max-height:500px; overflow:auto; } Just adjust the pixel values to how wide you want the forum to stretch before the scrollbars come into action.
Any specific part of the forum? |
![]() |
|
| Dan_crossy | Mar 4 2010, 10:13 PM Post #3 |
|
Member
![]() ![]() ![]()
|
Thanks for the help Pete, im trying to change the font of each posts |
![]() |
|
| Pete B-ZNR | Mar 4 2010, 10:54 PM Post #4 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
Okay, add this to the .postcolor bit, before the closing } color:#fff; |
![]() |
|
| Roby-ZNR | Apr 10 2010, 12:54 PM Post #5 |
|
Efficacy
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Completed! Your code request has been completed. Thank you for using our Member Request system here at Zathyus Networks Resources! If you have any questions regarding this topic, feel free to PM the code creator or post a new topic in the request forum. ![]() Have a nice day! |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
4:52 AM Jul 11
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)




4:52 AM Jul 11