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

  • Home
  • SEARCH
  • 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 3622592
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:16:45+00:00 2026-05-18T23:16:45+00:00

How do I make my paragraph wrap inside my div? It is currently overflowing

  • 0

How do I make my paragraph wrap inside my div? It is currently overflowing outside of the div and I have no idea how to stop the paragraph from overflowing over the edge. I do not want a scroll bar with:

overflow: scroll;

and the other overflow options don’t seem to help here either… I have the following code:

div {
 width: 1200px;
 margin: 0 auto;
}
.container {
 overflow: hidden;
}
.content {
 width: 1000px;
 float: left;
 margin-left: 0;
 text-align: left;
}
.rightpanel {
 width: 190px;
 float: right;
 margin-right: 0;
 }

<div class="container">
   <div class="content">
   <p>Some content flowing over more than one line</p>
   </div>
   <div class="rightpanel">
   <!-- content -->
   </div>
</div>

Edit:

<div class="container">
<div class="content">
<div class="leftcontent">           
</div>
<div class="newsfeed">
<div class="newsitem">
<p>Full age sex set feel her told. Tastes giving in passed direct me valley as supply. End great stood boy noisy often way taken short. Rent the size our more door. Years no place abode in no child my. Man pianoforte too solicitude friendship devonshire ten ask. Course sooner its silent but formal she led. Extensive he assurance extremity at breakfast. Dear sure ye sold fine sell on. Projection at up connection literature insensible motionless projecting.<br><br>Be at miss or each good play home they. It leave taste mr in it fancy. She son lose does fond bred gave lady get. Sir her company conduct expense bed any. Sister depend change off piqued one. Contented continued any happiness instantly objection yet her allowance. Use correct day new brought tedious. By come this been in. Kept easy or sons my it done.</p>
</div>
</div>
</div>
<div class="rightpanel">
</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-18T23:16:45+00:00Added an answer on May 18, 2026 at 11:16 pm

    I see now! You are giving all divs a width of 1200px. If you take that away, everything will look fine. .newsfeed and .newsitem are taking on this attribute.

    You could alternatively give .newsfeed and .newsitem a width:

    .newsfeed , .newsitem { width: 300px; }
    

    example:
    http://jsfiddle.net/UZMR2/

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

Sidebar

Related Questions

I have a paragraph element inside a div. The div has an opacity of
I could not find a way to make a RTL paragraph in Docx using
I want to make it so there's only 350 characters inside the paragraph, regardless
I have a paragraph of text and would like to make sure that one
I have a paragraph of text and I need to wrap each group of
I make a picture with phone (640*480) and put it inside uiimageview (300*300) with
i make one class file for jar. and this class have use wurfl. and
I make an app that have to printing image. I need to print image
I have a paragraph of text: <p>Lorem ipsum lorem ipsum lorem ipsum lorem ipsum
I am trying to set custom font to Paragraph, but I can't make it

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.