tworzę szablon css
#wrapper { width: 820px; height: 500px; margin: 0 auto; border: 1px solid red; } #wrapper #content { width: 600px; float: left; border: 1px solid red; } #wrapper #rightBox { width: 215px; float: right; border: 1px solid red; }
używam tak
<div id="wrapper"> <div id="content"> this is the content of the page <br /> this is the content of the page <br /> this is the content of the page <br /> this is the content of the page <br /> </div> <div id="rightBox"> this is the content of the page <br /> this is the content of the page <br /> this is the content of the page <br /> </div> </div>
wygląda ok, ale jak dodałem border:1px to tak jakby content i rightbox nie były w środku wrappera tylko zaraz pod nim. Gdy wrapperowi ustawie stałą wysokość to jest ok.
Co tu jeszcze dodać?