Ok, I'm working on a website, and I've run into a problem.
Essentially I want a border around two columns of text. But the border only wraps itself around whatever text is in the left column, so if there is more text in the right column than the left, there is text outside the border.
I made an image to explain a little better: goo.gl/XE70k
HTML:
CODE
<link rel="stylesheet" href="border.css" TYPE="text/css" MEDIA=screen>
<div id="border">
<div id="rightside">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<div id="leftside">
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
CSS:
CODE
#border {
border: 1px solid blue;
width: 500px;
}
#rightside {
width: 200px;
float: right;
}
#leftside {
width: 200px;
}
Can anyone help me out?
