Results 1 to 5 of 5

Thread: Align a Picture on Wordpress

Hybrid View

  1. #1

    Align a Picture on Wordpress

    Hi,

    After all the help I got with the centering a video. Now maybe some one could help me align a picture?

    I thought it would just be better to post what I have done

    Here is how it looks in the back end admin.



    Here is the HTML




    Here is how it appears when published



    What did I do wrong this time?

    What do I need to change?

    I want it to publish like it show in the admin.

    Thanks in Advance

    Sami
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here

  2. after wordpress v2.5 you are required to have following code in your style.css

    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }
    img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }
    .alignright {
    float: right;
    }
    .alignleft {
    float: left;
    }
    worked or not?

  3. #3
    Hi,

    Looking at my style .css I don't see the code in there. So where should I copy and paste it at?

    Butterflies Forever

    Sami

    I copied it under the body before the global elements and it worked.

    Thanks Big time.
    Last edited by Sami4u; 5 October, 2009 at 04:58 AM. Reason: works
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here


  4. you can just use photo gallery plugins if you like.


Similar Threads

  1. Share your picture
    By ChatBox in forum General Chat
    Replies: 7
    Last Post: 5 April, 2010, 14:37 PM
  2. Weird Picture
    By ChatBox in forum General Chat
    Replies: 0
    Last Post: 16 February, 2010, 01:16 AM
  3. Picture of the day
    By hendricius in forum General Chat
    Replies: 178
    Last Post: 3 September, 2009, 14:00 PM
  4. Drawn picture of me
    By stickycarrots in forum General Chat
    Replies: 10
    Last Post: 17 February, 2009, 05:01 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •