![]() ![]() |
[IP.Board] Prevent horizontal skin stretching |
Jul 17 2008, 03:08 PM
Post
#1
|
|
![]() Advanced Member ![]() ![]() ![]() Group: Administrators Posts: 511 Joined: 12-September 03 From: Earth Member No.: 193 ![]() |
I couldn't get the IP.Board "No. characters to word wrap on?" setting to work for me with Firefox 2. Some posts on this forum were still stretching my fixed width template. It looked really bad. However this does not seem to be an issue with IE7, Opera, or Safari on Windows.
SMF creates a horizontal scrollbar for a post that is too wide. If you want IP.Board to treat wide posts like SMF does try this. These instructions are for the IP.Pro skin... FIND in the skin's stylesheet: CODE .postcolor{ font-size: 13px; line-height: 160%; } ADD BELOW: CODE div.postcolor{ overflow: auto } Or you can simply add the code to the bottom of the stylesheet if you prefer. I posted an example of the effect below using an actual post from this forum that was causing issues... --------------------
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks. Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk. "If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard |
|
|
|
Jul 17 2008, 03:09 PM
Post
#2
|
|
![]() Advanced Member ![]() ![]() ![]() Group: Administrators Posts: 511 Joined: 12-September 03 From: Earth Member No.: 193 ![]() |
This post should have a horizontal scrollbar in Firefox 2 to prevent the template from stretching...
hey how are you i tried the hack out but i'm getting a parse error can't seem to find out wha't it's about can you take a look it's the strangest thing cauz there is no line 242
this is the error that i get.. Parse error: parse error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /storage/mijndomein/users/017840/public/sites/www.chill-zone.nl/mkportal/modules/chat/tpl_chat.php on line 242 and this is line 238 to 241 EOF; } } ?> thnks --------------------
Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks. Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk. "If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
| Lo-Fi Version | Time is now: 28th August 2008 - 09:32 PM |





Jul 17 2008, 03:08 PM






