visible soul web design corpus christi logo

visible soulweb design

serving corpus christi, texas & the world

 
VPS Web Hosting

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
[IP.Board] Prevent horizontal skin stretching
visiblesoul
post Jul 17 2008, 03:08 PM
Post #1


Advanced Member
***

Group: Administrators
Posts: 511
Joined: 12-September 03
From: Earth
Member No.: 193
Texas



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
Go to the top of the page
 
+Quote Post
visiblesoul
post Jul 17 2008, 03:09 PM
Post #2


Advanced Member
***

Group: Administrators
Posts: 511
Joined: 12-September 03
From: Earth
Member No.: 193
Texas



This post should have a horizontal scrollbar in Firefox 2 to prevent the template from stretching...

QUOTE (neoxrg @ Jul 6 2006, 02:17 PM) *
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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
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