WordPress.org

Ready to get started?Download WordPress

Forums

pictures with subtitles next to each other (6 posts)

  1. apestaartje
    Member
    Posted 6 months ago #

    On a WP-page it's easy to put pictures next to each other.
    But the moment you add a description to a picture the other pictures jump to the next line.
    What should I do to get pictures with sub text next to each other - without using a table or gallery?
    Thanks in advance.

  2. graphical_force
    Member
    Posted 6 months ago #

    You could put them in divs and use css.

    Example:

    <div id="main-container">
    <div id="left-image">
    <img src="image1.jpg">
    </div>
    <div id="right-image">
    <img src="image2.jpg">
    </div>
    </div>

    `#main-container {
    width: 100%;
    }
    #left-image {
    width: 50%;
    float: left;
    }
    #right-image {
    width: 50%;
    float: right;
    }

  3. apestaartje
    Member
    Posted 6 months ago #

    Hi Graphical,
    I don't understand it. It's for just one page and I want to have 3 pictures next to each other with a distance I am able to adjust.

  4. graphical_force
    Member
    Posted 6 months ago #

    Here is an example of how you can do that: http://jsfiddle.net/8VH3t/

    You can add some padding to each image through the css to create this distance if you wanted.

  5. apestaartje
    Member
    Posted 6 months ago #

    OK, I will try. Thanks.
    By the way do you know a css code to put a hyperlink in a footer area?

  6. graphical_force
    Member
    Posted 6 months ago #

    Start a new thread for that request.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.