Jump to content

How to move default picture profile

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

Share this post

Link to post
Share on other sites

Please start adding the code tags yourself. (the <> button in reply toolbar)

Share this post

Link to post
Share on other sites

Is this online somewhere we can see it?

And this is a CSS question, right? So the best place to ask it would be in the CSS forum, right?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.