PDA

View Full Version : <dt> tags wont center proberly - temp fixed


Vaupell
16 Dec 2009, 21:49
Haveing problems aligning text from phrases.

What im getting at the moment
107629

what i want
http://www.vbulletin.org/forum/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.

Vaupell
17 Dec 2009, 09:39
sorta temp solved,,,

http://www.vbulletin.com/forum/showthread.php?331414-what-is-the-properties-of-the-tag


replaced all dt with dd tags

Lynne
17 Dec 2009, 16:38
Could have done it with some css:
.postbitlegacy .userinfo {
text-align: center;
}
.postbitlegacy .userinfo .userinfo_extra {
float:none;
text-align: center;
}
.postbitlegacy dl.userinfo_extra dt {
float: none;
text-align: center;
}
.postbitlegacy dl.userinfo_extra dd, .postbitlegacy dl.userinfo_extra dd a {
text-align: center;
}

Vaupell
19 Dec 2009, 11:33
got a update on my bug report on it..
it now says

Fixed (pending) so i guess in gold it will be okay :D