View Full Version : PM template too wide
sumacbob
05-03-2007, 09:04 PM
I`ve put together a simple fixed width template. Everything looks fine, until tonight when I checked my pm`s and noticed the whole PM template breaks out to the right.
Within the CP the layout is fine, even viewing the main PM page (private.php) it doesn`t break. It does however break out when viewing the PM`s and also when writing or replying to a PM.
Not sure where I should be looking to remedy this?
Thanks.
Mark.B
05-03-2007, 09:47 PM
Is it the smilies that are making it break out?
I found I had to play around with the templates to make the smilies appear BELOW the editor box in a fixed width style.
sumacbob
05-03-2007, 09:53 PM
I don`t think so. Just viewing the private messages causes it to break out, without any smilies appearing.
Mark.B
05-03-2007, 09:57 PM
Hmm that's trickier to pin down without seeing it, but if it's viewing an actual PM that is controlled by the postbit or postbit_legacy templates.
One possible thing, if you're using postbit (with avatar/username on top) is that if there's a lot of information in that top box, it could push the table out.
If that's the case, an IS_SCRIPT conditional on private.php can rearrange or reduce the amount of info that shows in PMs.
cyberphr
05-03-2007, 10:10 PM
Are you using the "scroll on large images" mod? If so, change the CSS element's width to a percentage.
sumacbob
05-03-2007, 10:59 PM
Yes, the scroll mod is causing the problem.
If I change the width to percentage, it does indeed bring the PM display back into the proper layout, however those oversize images which the mod is intended to overflow/scroll are now breaking the layout.
cyberphr
05-04-2007, 02:46 PM
Yes, the scroll mod is causing the problem.
If I change the width to percentage, it does indeed bring the PM display back into the proper layout, however those oversize images which the mod is intended to overflow/scroll are now breaking the layout.
Set the width to a percentage (I like 99%), and set the height (if any) to a number.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.