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 4099720
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:28:15+00:00 2026-05-20T20:28:15+00:00

sir, i created a div tag in my html page and that displays a

  • 0

sir,
i created a div tag in my html page and that displays a product.inside the product_box div i have two columns (lleft and right) using float.

both columns fit in the product_box dividing the container into two vertical halves.but when i type content in the right half the content comes out of the div if it is longer than one line.i want that i continue typing multiple lines and it fits inside the right half.

i dnt want the overflow:scroll; method or hidden as well coz the scroll bar looks very bad.

plz suggest a way to acheive this.

CSS:

#content_left .product_box {
    margin-right: 10px;
}


.left {
    float:left;
    padding:10px;
    width:178px;
    height: 174px;
}


.right {    
    float:left;
    padding:10px;
    text-align:left;
    width: 396px;
    height: 136px;  
}

HTML:

<div class="product_box">
   <h3>Product Title</h3>
   <div class="left">some content here</div>
   <div class="right">
     jhkdjfhkjhkjhkjhkhkhkhkjhkjhkjhkjhkhkhkh
   </div>         

   <div class="cleaner"></div>
</div>
  • 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-05-20T20:28:16+00:00Added an answer on May 20, 2026 at 8:28 pm

    You can use min-hieght instead of height to ensure it gets minimum height and grows if the content increases…

    and be sure too add float clearer like: <div style="clear:both"></div> after the floating divs… in order to make parent container take its height

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sir, I have two window forms, each form has some controls. I want to
sir alread i downloaded .epub book through URL in that book 2 html pages
Sir, i am working in a java application.On that application i have to access
Sir I have a problem.I find the binary of a negative number that gives
Respected sir/madam, I have a fortran exe which takes a input file and produces
sir i have working with db connectivity i have written all code and i
So I have the data.frame dat = data.frame(x = c('Sir Lancelot the Brave', 'King
I have this cod: [Serializable] public class testC { string sir; public testC() {
I have near about six Activities and a service class with BroadcastReceiver that run
sir i have got an error while running my project in ecclipse. The error

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.