How To Get Picture To Align With The Left Set Of Paragraphs/go To Right Of?
Here is a prototype of what I am trying to implement   Here is what I currently have :  JsFiddle  I am trying to get the picture of the guy on the laptop to align correctly with an
Solution 1:
See the fiddle
The HTML and CSS that i've used is as follows. Used float:left
HTML
<div class="container">
    <div id="choices">
        <p class="choice">Business Traveller</p>
        <p class="choice">Office Supply Purchases</p>
        <p class="choice">Stay at home parent</p>
        <p class="choice">Entertainment</p>
        <p class="choice">Profile 6</p>
    </div>
    <div class="image"></div>
</div>
CSS
html, body, .container {
    height:100%;
}
#choices {
    width:30%;
    float:left;
}
.choice {
    margin-top:0px;
    margin-left:20px;
    text-align:center;
    width:100%;
    background-image: url("http://i.imgur.com/H43sVoi.png");
    padding-top:15px;
    padding-bottom:15px;
}
.image {
    height:100%;
    width:65%;
    background-color:red;
    float:left;
}
You will have to work with the height and width of each divs. I just made it roughly.
Solution 2:
You have to create two columns. 1 column for the menu and the second column for the image. If you do this, you wont have trouble floating.
Post a Comment for "How To Get Picture To Align With The Left Set Of Paragraphs/go To Right Of?"