vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Support :: Mini profile - View Topic
Topic Rating: *****
Printable View
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Mini profile (24th Jul 08 at 12:18am UTC)
well i got this code so far

Code:
 
  1. <font size="2">
  2. {if:online}X{/if:online}{ifnot:online}X{/ifnot:online}
  3.      <center> {display_name} </center>     {if:gender}<img src={gender}.gif>{/if:gender}
 


It should be all on the same line but its not atm, its showing up on 3 seperate lines

ting-tong2k6@hotmail.com
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Mini profile (24th Jul 08 at 1:08am UTC)
I'm confused as to what you're asking for support on. {Unsure}

rroll.to— Shorten a link, rickroll your friends.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Mini profile (24th Jul 08 at 2:09am UTC)
As I stated over MSN - use a table to make the whole code, that'll get the whole thing to look like the concept.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Mini profile (24th Jul 08 at 8:33am UTC)
<center> is a block level element which causes it to be on its own line. As Wrighty said, you could use a table to display that information:

Code: HTML
 
  1. <table width="100%" cellpadding="0" cellspacing="0">
  2. <tbody>
  3.     <tr>
  4.         <td>
  5.             <font size="2">{if:online}X{/if:online}{ifnot:online}X{/ifnot:online}</font>
  6.         </td>
  7.         <td align="center">
  8.             <font size="2">{display_name}</font>
  9.         </td>
  10.         <td align="right">
  11.             {if:gender}<img src="{gender}.gif">{/if:gender}
  12.         </td>
  13.     </tr>
  14. </tbody>
  15. </table>
 

Image
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: Mini profile (24th Jul 08 at 3:22pm UTC)
Thanks , they are on the same line now, but the display name is further on the right then the center.

ting-tong2k6@hotmail.com
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Mini profile (24th Jul 08 at 4:58pm UTC)
That's due to the differernt sized images/text either side of it! {Unsure}

I just suggest making images/text the same width! {Smile}
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: Mini profile (24th Jul 08 at 8:21pm UTC)
Ah thought so , thanks {Smile}

ting-tong2k6@hotmail.com
 Printable View

All times are GMT+0 :: The current time is 4:23pm
Page generated in 1.009 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums