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

Join the conversation

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

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.