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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:02:30+00:00 2026-06-11T10:02:30+00:00

I made a very basic layout. http://jsfiddle.net/kK7Rk/ HTML <div id=container> <div id=logocontainer> </div> <div

  • 0

I made a very basic layout.

http://jsfiddle.net/kK7Rk/

HTML

<div id="container">
    <div id="logocontainer">
    </div>
    <div id="navigationcontainer">
    </div>
    <div id="textcontainer">
    </div>
    <div id="sidebarcontainer">
        TEXTTEXTEXTTEXTTEXTEXTTEXTTEXTEXTTEXTTEXTEXTTEXTTEXTEXT.
    </div>
</div>​

CSS

* {
margin:0;
padding:0;
}
#container {
margin:0px auto;
width:600px;
height:1000px;
background:red;
}
#logocontainer {
float:left;
width:50%;
height:15%;
background:green;
}
#navigationcontainer {
float:right;
width:50%;
height:15%;
background:orange;
}
#textcontainer {
margin:10px;
float:left;
width:70%;
height:83.2%;
background:purple;
}
#sidebarcontainer {
margin:10px;
float:right;
width:23.33%;
background:yellow;
}​

The text inside is flowing outside its boundaries even though I set a margin for the div.

Can someone tell me what the problem is?

Thanks,

SenileSage.

  • 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-11T10:02:31+00:00Added an answer on June 11, 2026 at 10:02 am

    Most browsers don’t know how to break words that are so long, you have to give it a bit of help.

    Add word-break:break-all; to the #sidebarcontainer. Here is some more info on it on W3Schools.

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

Sidebar

Related Questions

I have created a very basic custom layout to set out a menu made
I'm not sure what is going on here, I made a very basic HTML/CSS
I made a very basic dictionary that just stores a username in it, and
I am a very new programmer, I have made a couple basic applications, however
I made a very basic example, and when I use a hyphen on the
I am learning C++ and made a script, a very basic player attacking monster
I made a very simple test application with one activity and one layout. The
I made a very basic scripting language, and in my language there is a
This is a very basic question. I'm just on my mission to learn ASP.NET
I'm just starting to play with asp.net mvc and I've got a very basic

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.