Set the editor to fill its container width using width="100%". The editor responds to container size changes automatically.
<richtextbox toolbar="default" height="300px" width="100%" html="..." />