WordPress.org

Ready to get started?Download WordPress

Forums

Problem with images and css (3 posts)

  1. peiqinglong
    Member
    Posted 7 years ago #

    Greetings all! For the life of me, I can't seem to give the images some padding so the words aren't so crunched up to the pics and clear the div so that part of my footer isn't overlapped by the image. Thanks for any and all help!

    http://www.bui4ever.com/2006/08/07/apple_macpro.php

  2. yinw
    Member
    Posted 7 years ago #

    Add an entry to styles.css :

    .imgleft { float: left; padding-right: 5px}

    This will float your image to the left and add a 5 pixels space on the right side.

    As far as the footer is concerned, just add a couple of empty lines.

    Yin

  3. yinw
    Member
    Posted 7 years ago #

    Forgot to add:

    Then in your IMG tag, add class="imgleft" to any picture you want displayed aligned left with 5 pixels spaces to the right, with text flowing to the right of it.

    Yin

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.