Lalena wrote:
> Can anyone tell me why the text in my first box pokes out the bottom?
> Here's the page:
> http://suziblade.com/rapant-mcelroy/our_services.html
> (The borders are temporary, just so I can see what's going on.) It
> looks like the right column is determining the depth of the box, and
> I'm not sure why.
> If there's anything else I did that isn't coded as sensibly as it
> could be, please feel free to let me know that too.
> Thank you!
> Lalena
>
>
Dunn, Lalena. The stuff ain't contained?
Try (not tested):
.container {
overflow:hidden; <--------- :: add to enclose and clear the floats in
the block
width:700px;
margin:20px auto 5px auto;
border:1px solid white;
}
.leftcol {
background:fuchsia; <--------- :: add-- just for fun so you can see
what's happening, sort of...
float: left;
width: 300px;
margin: 0; <--------- :: delete-- not needed
adding: 0px;<--------- :: delete-- not needed
border:0px;<--------- :: delete-- not needed
}
.rightcol {
background: lime; <--------- :: add-- just for fun so you can see what's
happening, sort of...
margin: 0px 0px 0px 340px; <--------- :: delete-- not needed
width: 365px; <--------- :: add to make a box
float: right; <--------- :: add to throw the box right
text-align: left;
border:0px;<--------- :: delete-- not needed
}
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/