i apologize in advance if this is a dumb question but i know just enough about this stuff to be dangerous. i'm going to paste the html and the CSS i used below. i took out the content and just left the basics of what my question is about. basically i have three div's. one is content and i have left and right boxes inside it. the question is if i apply a border to the content div shouldn't it wrap around the left and right div's ? instead it stops above it. there are other boxes above and below but i have taken them out to test it and it works the same with or without them. if you want to see the whole site its at
<snip>.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="description" content="example" />
<meta name="keywords" content="example" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Distribution" content="Global" />
<meta name="Author" content="" />
<meta name="Robots" content="index,follow" />
<link rel="stylesheet" href="example.css" type="text/css" />
<title> example Inc</title>
</head>
<body>
<div id="container">
inside the container <br />
<div id="left">
left side
</div>
<div id="right">
right side
<!--right div--></div><!--right div-->
<!--container div--></div><!--container div-->
</body>
</html>
[edited by: limbo at 12:40 pm (utc) on Feb 14, 2010]
[edit reason] No URL's please, see TOS [webmasterworld.com] [/edit]