PDA

View Full Version : assistance with postbit_legacy


CrashfAB
01-19-2009, 03:27 PM
So some time ago I went and modified the user info in the postbit_legacy .

The problem lies I cannot figure out how to have the boxes expand when a users info (field 2) is larger than the box. As you can see when it goes beyond it--the info kinds gets squished. Any help would be aprecieted as I am pulling hair.

Here is the code...



if condition="$post['joindate']"><div>


<div style="border: 1px solid #000000; background-color: #E0E0F6; margin-bottom: 4px; width:140px; height:15px" width="100%" class="smallfont">


$vbphrase[join_date]: $post[joindate]</div></if>

<if condition="$post['field2']"><div>
<div style="border: 1px solid #000000; background-color: #E0E0F6; margin-bottom: 4px; width:140px; height:15px" width="100%" class="smallfont">

$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
<div style="border: 1px solid #000000; background-color: #E0E0F6; margin-bottom: 4px; width:140px; height:15px" width="100%" class="smallfont">
$vbphrase[posts]: $post[posts]
</div>


Any help would be apreciated

Seven Skins
01-19-2009, 09:12 PM
Add " white-space: nowrap" in style tag of field2.