1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

extraUserInfo

Discussion in 'XenForo Pre-Sales Questions' started by James, Sep 17, 2010.

  1. James

    James Well-Known Member

    I'm not sure about semantics of things, but I am wondering why on the Kitchen Sink style that each postbit user info has its own definition listing? I understand that in this sense the definition list has been used to show the relationship between the term and the description, but as they are all part of the userinfo wouldn't it make sense for them to be all in one definition listing?

    Code snippet:
    HTML:
    <div class="extraUserInfo">
    	<dl class="pairsInline">
    		<dt>Member Since:</dt>
    		<dd>Sep 1, 2010</dd>
    	</dl>
    	<dl class="pairsInline">
    		<dt>Message Count:</dt>
    		<dd><a href="search/member?user_id=1705" class="concealed">256</a></dd>
    	</dl>
    	<dl class="pairsInline">
    		<dt>Likes Received:</dt>
    		<dd>29</dd>
    	</dl>
    	<dl class="pairsInline">
    		<dt>Trophy Points:</dt>
    		<dd><a href="members/sushubh-mittal.1705/trophies" class="OverlayTrigger concealed">28</a></dd>
    	</dl>
    	<dl class="pairsInline">
    		<dt>Gender:</dt>
    		<dd itemprop="gender">Male</dd>
    	</dl>
    	<dl class="pairsInline">
    		<dt>Location:</dt>
    		<dd><a href="http://maps.google.com/maps?q=Gurgaon%2C+Haryana" target="_blank" rel="nofollow" itemprop="address" class="concealed">Gurgaon, Haryana</a></dd>
    	</dl>
    	<dl class="pairsInline">
    		<dt>Homepage:</dt>
    		<dd><a href="http://sushubh.net/" rel="nofollow" target="_blank" itemprop="url">http://sushubh.net/</a></dd>
    	</dl>
    </div>
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Presumably you mean like this?

    HTML:
    <div class="extraUserInfo">
        <dl class="pairsInline">
            <dt>Member Since:</dt>
            <dd>Sep 1, 2010</dd>
    
            <dt>Message Count:</dt>
            <dd><a href="search/member?user_id=1705" class="concealed">256</a></dd>
    
            <dt>Likes Received:</dt>
            <dd>29</dd>
    
            <dt>Trophy Points:</dt>
            <dd><a href="members/sushubh-mittal.1705/trophies" class="OverlayTrigger concealed">28</a></dd>
    
            <dt>Gender:</dt>
            <dd itemprop="gender">Male</dd>
    
            <dt>Location:</dt>
            <dd><a href="http://maps.google.com/maps?q=Gurgaon%2C+Haryana" target="_blank" rel="nofollow" itemprop="address" class="concealed">Gurgaon, Haryana</a></dd>
    
            <dt>Homepage:</dt>
            <dd><a href="http://sushubh.net/" rel="nofollow" target="_blank" itemprop="url">http://sushubh.net/</a></dd>
        </dl>
    </div>
    I suspect it's just the way the code is built up using the Style Properties editor in the ACP.
     
  3. James

    James Well-Known Member

    Yeah Brogan, like that. It makes more sense (IMO) than having to redefine the definition list in every term.
     
  4. Mike

    Mike XenForo Developer Staff Member

    It's actually a lot easier to customize them with individual lists. There are some issues in IE that make dealing with float and alignment of dt-dd combinations really problematic.
     
    Brogan, Enigma, Kier and 1 other person like this.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Why doesn't that surprise me :rolleyes:
     
    James likes this.
  6. dutchbb

    dutchbb Well-Known Member

    Indeed. I can only imagine the frustrations Mike and Kier must have been through already :rolleyes:
     

Share This Page