xxx of yyy characters
Join Group

★ hi5 Codes ★

Google Translation: Off

When Google Translation is on, topics and messages in this group will be machine-translated to your language by Google.

Messages


Topic: Code = How to make a Centered Profile
A Detailed Tutorial on how to make a centered Profile


Allot of questions has been poping up lately, about "Howmake a Centered Profile".

So I did this Tutorial for you guys to understand how to do it.

----------------------------------------------

First off, those centered Profiles are in essence, mostly all of the profile sections hidden, except for the "About Me" section.

From there, you just use pure HTML to input the rest of your content on your page.

Your Profile Picture, Links, etc...
will be all HTML.

Now let's get started then.
I'll explain each step.

----------------------------------------------

1) As with all other CSS codes, you start with the declaration of <*style> tags to define the style you are using.

The attribute can be written in this form:
-----------------------
<*style type="text/css">
-----------------------



2) Hide the top-most nav section:
--------------------------------
#p_nav_header { display: none; }
--------------------------------
This is of course optional, but I see this seems to be the trend for those centered profiles.



3) Center your Profile name:
-------------------------------------
#profile-name {text-align: center;}
-------------------------------------

This code, and the one below are both optional. But it looks better with a centered profile.



4) Center your Profile Nav:
-----------------------------------
#profile-nav {text-align: center;}
-----------------------------------



5) Hide your User Details

This is a very Important Step!

The "user-details" is the large section just below the "profile-nav".

It encompasses the "Main body" and "Main Footer"

This step is also optional.

If you wish to hide this section completely like many do, then use:
-----------------------------
#user-details {display:none;}
-----------------------------
Once you do this step, you'll need to recreate your own Profile Picture, and User Links using HTML.

Now if you don't want to hide it, just skip this step for now.

Later I'll explain (in step 11) how to use your usual, profile picture and links, but have them centered.



6) Hide all tables to the Right:
-------------------------------
#content-right {display: none;}
-------------------------------
This step is not optional.

This hides all of the tables to the right.
(Friends, Albums, Fives, Comments)

Of course, there is always the option to hide your left tables and center the right ones instead.
But that way you can't add any content, which is the important thing,
and I don't see anyone doing that either, so...
I'll just ignore that idea ;)


7) Center all Left content.
-------------------------------------------
#content-left {padding-left:250px; padding-right:250px;}
-------------------------------------------

This is probably the most important step of all!
It is not optional.

This will create a padding, 250px to the left and right of the left tables.
Pushing them to the direct center of your profile.

Now you should see your layout starting to take shape.



8) Remove all unnecessary sections.
----------------------------------
#recent-updates {display:none;}
#interests {display:none;}
#groups {display:none;}
#widgets {display:none;}
#journalDetail {display:none;}
----------------------------------
You can choose what you want to remoave, and not remove.

Refer to the CSS Layout chart at the homepage of this group to decide what you may want to hide or not.
[CSS Layout Chart]
Using {display:none;} after any section you wish to hide.



9) Center all Text
---------------------
td{text-align:center}
---------------------
This is also an important step!
It is not optional if you want everything to be centered.

This simply centers all of the text in all the tables in your profile.



10) You now close your CSS style declaration with this tag:
------------------------
<*/style>
------------------------

This is the last step of CSS editing, for those who included step 5!


Jul 5, 2008
10:50 AM


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
11) This step are for those who skipped step (5), and did not hide their User details.

Use this code to hide the center and right sections of the main body. and center the left section, where your user picture, and user links are.
------------------------------------
#about-center {display: none;}

#about-right {display: none;}

#about-left { padding-left:250px; padding-right:250px;}

#user-picture {padding-left:155px;}
------------------------------------

You can also add:
--------------------------------------
#user-details .footer {display: none;}
--------------------------------------
If you wish to hide the footer below that section.

Visit this tutorial: If you wish to make a Larger, or Animated profile picture:

[Big Profile Picture / Animated Profile Picture ] http://www.hi5.com/friend/group/3284452--12544263--hi5%2BProfile%2BCustomization--C--topic-html





12) Now this is the HTML part.

This is what you will be writing in your "About Me" section,
to create your own, "Profile Picture" and "User Links"

You'll need to make up each link individually, to suite your profile.

But I'll show you the format.

----------------------------------------
How to make a Text Link:

----------------------------------------
<*a href="http://??????????">--Text?-- <*/a>
----------------------------------------

[1] You just exchange the "http://??????????" with the URL you want the link to point to.

[2] You exchange "--Text?--" with the words you want the link to appear as.


I'll show you an example:

<*a href="http://epsilonx-5.hi5.com">[My Profile] <*/a>

This link will point to my profile at : http://epsilonx-5.hi5.com
With the title: [My Profile]

Live sample:
[My Profile]

----------------------------------------
How to make an image, with a clickable link:

----------------------------------------
<*a href="http://??????????"> <*img src="http://---Image_URL_goes_here!---"> <*/a>
----------------------------------------

[1] Exchange the "http://??????????" with the URL you want the link to point to.

[2] You exchange "http://---Image_URL_goes_here!---" with the url of the image you wish to use.

Here is an example:

<*a href="http://www.hi5.com/friend/photos/displayPhotoUser.do?ownerId=72344716&artistType=&photoFuid=00088659970300Zw8.04865997"> <*img src="http://photos1.hi5.com/0008/865/997/Zw8.04865997-01.jpg"> <*/a>

And here's the live result:



----------------------------------------

Now putting everything together, and making each link, you should be able to get this:

[My Profile]



[Add as a Friend]

[Send Message]

[Leave Comment]

[Add to Favorites]

[Send a Five]



At the end of all the steps, you should now have something like this for your CSS:

CSS:
---------------------------------------------------------
<*style type="text/css">

#p_nav_header { display: none; }
#profile-name {text-align: center;}
#profile-nav {text-align: center;}
#user-details {display:none;}
#content-right {display: none;}
#content-left {padding-left:250px; padding-right:250px;}
#recent-updates {display:none;}
#interests {display:none;}
#groups {display:none;}
#widgets {display:none;}
#journalDetail {display:none;}
td{text-align:center}

<*/style>
---------------------------------------------------------
(Those who did step (11) instead of (5), will obviously have something a little different).


And your HTML will be personaly designed.


Jul 5, 2008
10:51 AM


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
I hope this tutorial was helpful to everyone who wanted it.

Please take your time, and read through the entire post properly, and attempt to understand it, before asking more questions.

I have realised that there are allot of lazy people who ignore the tutorials that have been well explained, and rather ask someone else to do all the work for them.

Please do not do this.

Time has been spent to teach you how to do it, so please don't waste more people's time again by asking the same question that has been already explained.

I hope you all have fun using this, and find it simply enough explained.

-Andrew
Jul 5, 2008
10:51 AM


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
Great my friend, congratulations...!! :D
Jul 5, 2008
11:05 AM


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
Thanks a lot for the precious help, Andrew!! :)

Jul 5, 2008
11:07 AM


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
YES I VE TRIED ALL THESE CODES,MY ABOUT ME IS CENTERED BUT THE FOTO IS STILL THERE!!!!
AND ALSO I HAVE TRIED MANY MANY TIMES TH CODE TO REMOVE JOURNAL AND ITS NOT WORKING IF SOMEONE CAN DO SMTHNG
Jul 5, 2008
3:18 PM

Posted by artemis z

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
Hey thanks allot Erini and WhiteWolf!
Appreciated! :)



@ aRtemoOla™ ←│S°Heroes│™ z

I looked at your profile, but I don't really see what is wrong with it...

1)You said:
"BUT THE FOTO IS STILL THERE!!!!"

Don't you want your photo to be there?
I don't understand...

If you don't want that photo there, then just erase what ever code you used to put it there.
Please explain better.

2) I don't see any Journal on your profile...
Show me where you are seeing this Journal.
(other than the link you made, and the nav bar)

Anyway, this code can be used to hide your Journals:
----------------------------------------
#journal, #journal-entries {display:none;}
----------------------------------------

I don't know if you have fixed your problems already, but I honestly don't see what you are talking about.
Take your time and explain your problem.

Also please stop typing in ALL CAPS.
Jul 5, 2008
3:47 PM


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
we only want to center the photo... and put the statistisc in left side of photo... and infos in right..

and... section with add as friend bla bla
under the centred photo

look here: http://www.hi5.com/friend/profile/displayProfile.do;jsessionid=aOQn25ErDW9-?userid=223818141

thanks!
Jul 5, 2008
3:49 PM


Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
thx so much!! i did it take a lo0k if u want an also if you can give me a code to put a nice bcgrnd..this black make me sick!
Jul 5, 2008
3:49 PM

Posted by artemis z

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
and im sorry fr the CAPS..:)
Jul 5, 2008
3:52 PM

Posted by artemis z

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  

Title
body