Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8802447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:05:36+00:00 2026-06-14T01:05:36+00:00

I have a div box that looks like this: .productholder { width: 954px; margin-left:

  • 0

I have a div box that looks like this:

.productholder
{
width: 954px;
margin-left: 175px;
margin-bottom: 30px;
background-color: white; 
border-style:solid;
border-width: 1px;
border-color: #d2d2d2;

/* gradients */
background: -webkit-gradient(linear, left top, left bottom, 
color-stop(0%, white), color-stop(50%, white), color-stop(170%, #f6f6f6)); 
background: -moz-linear-gradient(top, white 0%, white 55%, #f6f6f6 150%); 
}

And I am trying to get a structure of text and img like this example picture:

Divbox

But I cant seem get it exacly like the picture, any kind of help would be appreciate on how I can get my box to look like this example picture.

I have tried this so far:

<div class="productholder">  
  <img src="url" alt="" />
  <h2>Titletext</h2> 
  <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer mi. Vivamu. etc</p>       
  <input type="submit" value="More">
  <p>$599</p>
  <input type="submit" value="Buy">                                    
</div>

img{
float:left;
}

h2{
float:left;
font-size: 14px;
}

Any kind of help is appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:05:37+00:00Added an answer on June 14, 2026 at 1:05 am

    Here is an idea – DEMO

    HTML

    <div class="productholder">  
        <img src="http://lorempixel.com/100/100" alt="" />
    
        <div class="productinfo">
            <h2>Titletext</h2> 
            <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer mi. Vivamu. etc</p>       
            <input type="submit" value="More">
        </div>
    
        <div class="productprice">
            <h2>$599</h2>
            <input type="submit" value="Buy">
        </div>        
    </div>​
    

    CSS

    .productholder {
        width: 954px;
        margin-bottom: 30px;
        background-color: white; 
        border-style:solid;
        border-width: 1px;
        border-color: #d2d2d2;
    
        /* gradients */
        background: -webkit-gradient(linear, left top, left bottom, 
        color-stop(0%, white), color-stop(50%, white), color-stop(170%, #f6f6f6)); 
        background: -moz-linear-gradient(top, white 0%, white 55%, #f6f6f6 150%); 
    }
    
    .productholder img {
        display: inline-block;
        margin: 20px;
    }
    
    .productinfo {
        border: 1px solid #ccc;
        display: inline-block;
        margin: 20px 0;
        vertical-align: top;
        width: 500px;
    }
    
    .productinfo input {
        float: right;
        margin-top: 20px;
    }
    
    .productprice {
        border: 1px solid #ccc;
        width: 150px;
        float: right;
        margin: 20px;
        text-align: center;
    }
    ​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have few div box that looks like this, they all are like productholder2
I have some HTML that looks something like this: <div id=zoomed style=display:none; position:absolute;> <a
I have some HTML that looks like this: <div class=MyClass></div> <div class=MyClass></div> <div class=MyClass></div>
I have a page that looks like this: <body> <div class=pollid > <select class=pollid
I have some HTML that looks like this: <div class=SomeContainer> <div class=MyClass></div> <div class=MyClass></div>
I have a problem that looks like this: My string of text looks like
I am making a button that looks like this: <!-- Container --> <div> <!--
I have a 9-box with a div structure like so: <div class=NBWrapper> <div class=NBTopRow>
I have a nested form in a rails view that is called like this
I have a div box with some images that the user can click. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.