CSS width issue

On my home page ( www.billboardfamily.com ), I have the format I want, but for some reason the <div id=“maintop”> section is stretching way out of the width of the rest of the website. I want it to extend the entire width of the main document area, which is 1000px. I have tried to define the width, but nothing seems to work. Anyone know what I should do?

style.css

/** BEGIN index top **/
#maintop {
	float: left;
	height: 200px;
	width: 1000px;
		
}
/** END index top **/

index.php

<?php include("header.php"); ?>



	<div id="maintop">
<p> 

iluwvefiluywbvefliuywbveflyuwefrwgwrgaergaergaergaergergergergergererherherherherherherhergergergergergergergergergergergergergergergerger

gergergergrgrwegergeriluwvefiluywbvefliuywbveflyuwefrwgwrgaergaergaergaergergergergergererherherherherherherhergergergergergergergergerger

gergergergergergergergergergergrgrwegergeriluwvefiluywbvefliuywbveflyuwefrwgwrgaergaergaergaergergergergergererherherherherherherhergerger

gergergergergergergergergergergergergergergergergergrgrwegergeriluwvefiluywbvefliuywbveflyuwefrwgwrgaergaergaergaergergergergergererherher

herherherherhergergergergergergergergergergergergergergergergergergergergrgrwegergeriluwvefiluywbvefliuywbveflyuwefrwgwrgaergaergaergaerge

rgergergergererherherherherherherhergergergergergergergergergergergergergergergergergergergergrgrwegergeriluwvefiluywbvefliuywbveflyuwefrw

gwrgaergaergaergaergergergergergererherherherherherherhergergergergergergergergergergergergergergergergergergergergrgrwegergeriluwvefiluyw

bvefliuywbveflyuwefrwgwrgaergaergaergaergergergergergererherherherherherherhergergergergergergergergergergergergergergergergergergergergrg

rwegerger</p>
	</div>

<?php include ('sidebar_index.php'); ?>

<!-- BEGIN content -->
<div id="content">
	
	<div class="post"><?php
 $lastposts = get_posts('numberposts=1&category=6');
 foreach($lastposts as $post) :
    setup_postdata($post);
 ?>
 <h2><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a></h2>
 <?php the_content(); ?>
 <?php endforeach; ?>
	</div>
	
</div>
<!-- END content -->

<?php get_footer(); ?>

ok, learn something all the time, I guess. What is it about a string of text that makes this not work?

Correct!

I see. If I am using a regular paragraph, and some images, and some div tags within this div, it should stay at the 1000 px width without me having to change any css, then?

Looks like it’s due to the long string of text. http://www.visibilityinherit.com/code/wrap-text.php Just add div{word-wrap:break-word;} to the container