SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast USPB's Avatar
    Join Date
    Oct 2007
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Any Wordpress Expert?

    How can I put images on the right side of the page.

    for adsense I have been using

    .adsense {float:left; margin-right: 5px;}

    but I can't make the images to be always on the right side of the page

    hope you can help me. I am a css newbie

    thanks

  2. #2
    SitePoint Member
    Join Date
    May 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you tried to float the images right?

    In some cases you can make a div to contain the images and float that div right

  3. #3
    SitePoint Addict iwonder's Avatar
    Join Date
    Feb 2005
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if you want specific image to align right then yo can use the same code (.adsense) in the image tag <img src="http://img" class="adsense" alt="" /> .

    Whereas if you want all the post images to align right then you have to make the images align right in a class or ID in CSS. i.e if the post area is under <div class="post"> then in CSS add..

    .post img {
    float:left; margin-right: 5px;
    }

    GFXedit DesignsFree/Custom CSS Designs & Wordpress themes
    Web 2.0 & Me | Personal Blog | IndianWebDevs | AutoPundit |

  4. #4


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
  •