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;


}

 

Link to comment
Share on other sites

  • requinix locked and unlocked this topic

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.