HaLo2FrEeEk Posted June 24, 2007 Share Posted June 24, 2007 I want to add horizontal scrollbars to any code or quote box that someone posts on my forum, but I have no idea how to do this, I've tried messing with the css file and a few of the php files, but I can't figure it out. If anyone can help, I would be very appreciative. I want the max width to be 400px, so if the person posts anything that exceeds 400px, it will put horizontal scrollbars on the bottom, but if it is not more than 400, they will not be there. Thank you. Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted June 25, 2007 Share Posted June 25, 2007 hmm... I've never seen this done before so I cant really picture the final outcome, but I have a suggestion, now my idea isnt tested since I just thought of it right now, but you can try going into the php file that produces the posts, and enter some div tags around it, and the div tag could look something like <div style="overflow:auto;"> <?php PHP CODE ?> </div> The only thing is that I dont know how to add a max size to the overflow... Quote Link to comment Share on other sites More sharing options...
HaLo2FrEeEk Posted June 25, 2007 Author Share Posted June 25, 2007 I tried that, and it works, but the div tags would go inside a table already created, I'm working on it now. The only problem with this is each template would have to have it's bbcode.tpl file modified, I guess this is ok since I won't be adding any new templates to the forum, but it's still a hassle. Thanks for helping out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.