Jump to content

How to move default picture profile


piano0011

Recommended Posts

Hey guys!

I have almost got my profile picture page working and here is my code for displaying the profile picture. I am not that familiar with CSS but can I use padding to move the pictures in my nav bar? It just doesn't seem to move it around when I tried it.. Here is part of my php code..

  echo "<img class='profile_picture' src='includes/uploads/profile".$id.".".$fileactualext."?".mt_rand()."  width = '50' height = '50''>";
                  } else {
                    echo "<img class='default_picture' src='includes/uploads/profiledefault.jpg' width = '100' height = '50'>";
                  }


and here is my CSS code

.profile_picture {
    -webkit-transform: rotate(-90deg);
    padding-left: 200px;
    padding-top: 100px;


}

 

Edited by Barand
code tags added
Link to comment
Share on other sites

  • requinix locked and unlocked this topic
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.