How to change the user-profile.tpl.php file to a customized outline like Linkedin for Drupal 7? I'm using Drupal 7.9 for an internal website. I'm trying to customize the "user-profile.tpl.php" file so it shows the fields that I've customized in the "admin/config/people/accounts/fields" to be shown below: 

&lt;&lt;>>image block on the left&lt;&lt;>>   

"Full Name
Job Title/Position

Your Organization Name Here, INC
1234 Your Address Here
Long City Name, ST 12345  

(P) 555-123-1234
(E) emailaddress@somecompany.com"

But I'm having an issue writing the PHP in the "user-profile.tpl.php" file (I didn't touch the user-profile-category.tpl.php or the user-profile-item.tpl.php files)

This is what I've coded, which obviously is printing everything out wrong. 

&lt;div class="profile" style="float:left; width:100%;"&gt;

&lt;div class="profile-image" style="width:20%; float:left;"&gt;
    &lt;?php if ($user_picture): ?&gt;
      &lt;div class="user-picture"&gt;
        &lt;?php print $user_picture; ?&gt;
      &lt;/div&gt;
    &lt;?php endif; ?&gt;
&lt;/div&gt;

&lt;div class="profile-info" style="width:80%; float:left;"&gt;
    &lt;h1&gt;&lt;?php print render($user_profile['field_profile_full_name']) ?&gt;&lt;/h1&gt;
    &lt;p&gt;&lt;?php print render($user_profile['field_profile_job_title']) ?&gt;&lt;/p&gt;

    &lt;h3&gt;&lt;?php print render($user_profile['field_profile_organization']) ?&gt;&lt;/h3&gt;
    &lt;p&gt;&lt;?php print render($user_profile['field_profile_address']) ?&gt;&lt;p&gt;
    &lt;p&gt;&lt;?php print render($user_profile['field_profile_city']) ?&gt;, &lt;?php print render($user_profile['field_profile_state']) ?&gt; &lt;?php print render($user_profile['field_profile_zip_code']) ?&gt;&lt;/p&gt;

    &lt;h3&gt;(P)&lt;?php print render($user_profile['field_profile_business_phone']) ?&gt;&lt;/h3&gt;
    &lt;h3&gt;(E)&lt;?php print render($user_profile['field_profile_e_mail_address']) ?&gt;&lt;/h3&gt;

&lt;/div&gt;

&lt;/div&gt;


When it prints on the page, everything still has a bunch of page breaks and space in between the info. And the address line isn't included in one block, it puts it on a new line each item. 

How do I write the code so I can get the format outlined above?
You can utilize views module to achieve what are you looking for, with some CSS styles.

While using views you have two options view user information:

Option 1:


Create block view (Users) 
Select user fields you want to display 
Then add Contextual filters (User: Uid) 
From the configuration page make sure to select Provide default value
Then from Type drop down menu select User ID from logged in user.
Then apply changes.
Save view.
Under Structure -> Blocks locate the new created view in content region
Configure the block to appear only on the user account page user and users/*
Then you need to clear the original drupal content in the user view account page by apply this custom module.


Code:

function mymodule_menu_alter(&amp;$items){
  $items['user/%user']['page callback'] = 'mymodule_user_view_page';
}

function mymodule_user_view_page() {
  return array();
}


Option 2:


Create page view (Users)
Apply steps 2-6 as Option 1
Add Path user/%user under Page Settings 
Save view.