Vaupell
12-16-2009, 08:49 PM
Haveing problems aligning text from phrases.
What im getting at the moment
107629
what i want
https://vborg.vbsupport.ru/attachment.php?attachmentid=107518&d=1260783637
At class start i just added alignment but didnt work..
<div class="postdetails" align="center">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
Some of the items needs to be centered,
i added the line breaks, just stack them like before..
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt></br> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt></br> <dd>{vb:raw post.field2}</dd></vb:if>
the vbphrases wont center, but vbraw centers fine.
What im getting at the moment
107629
what i want
https://vborg.vbsupport.ru/attachment.php?attachmentid=107518&d=1260783637
At class start i just added alignment but didnt work..
<div class="postdetails" align="center">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
Some of the items needs to be centered,
i added the line breaks, just stack them like before..
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt></br> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt></br> <dd>{vb:raw post.field2}</dd></vb:if>
the vbphrases wont center, but vbraw centers fine.